4 ms·
But why is the internal RNG state dynamically allocated? I would have expected it to be a static variable allocated only once.
by ufo 5y ago
But why is the internal RNG state dynamically allocated? I would have expected it to be a static variable allocated only once.
- veltas 5y agoSo that you can call it in different threads or in a signal without clobbering another invocation's state.