Context: 20ef40ba6a0898fb477d16d198dbb1f2d50f00c4
When pulling in new commits from the proposal repo, I noticed that this commit's text mentions that it might be unsuitable for production code and so I skipped over it.
Though the current code is slow, maybe there are other ways to speed this up?