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
I've been playing with your code and implemented an alternative generator that seems to be a bit faster (6.6 s vs 12.5 s for 1M). The speed-up comes from the base62 encoding. I'm using compiled functions for the base62 encoder and accumulate digits as a list with an iodata_to_binary at the end, instead of binary concatenation. Sharing this in case you want to use any of the ideas in your implementation.
Hi,
I've been playing with your code and implemented an alternative generator that seems to be a bit faster (6.6 s vs 12.5 s for 1M). The speed-up comes from the base62 encoding. I'm using compiled functions for the base62 encoder and accumulate digits as a list with an iodata_to_binary at the end, instead of binary concatenation. Sharing this in case you want to use any of the ideas in your implementation.
The text was updated successfully, but these errors were encountered: