You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this is a bit silly. Decoding an unsigned machine word with wrapping behavior is about 50% faster than decoding with error handling. The current arbitrary precision algorithm uses the wrapping version internally, so it ends up being about the same speed as a naive small integer algorithm with error handling. The former gets away with wrapping behavior because of its chunking strategy. Perhaps I should do something similar in the small integer algorithm? Hm.
I wrote some code for a comment on the forums. In doing so, I noticed two things:
This issue tracks the 2nd point. I'll want to measure it, but it should be a simple improvement.
The text was updated successfully, but these errors were encountered: