This site took too long to answer. You can still read it on the original site — the toolbar below keeps your place in the directory.
https://dotat.at/@/2025-03-05-lemire-inline.html Last year I wrote about inlining just the fast path of Lemire's algorithm for nearly-divisionless unbiased bounded random numbers . The idea was to reduce code bloat by eliminating lots of copies of the random number generator in the rarely-executed slow paths. However a simple split prevented the compiler from being able to optimize cases like…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.