3 ms·It's used to store internal random state.by saagarjha 5y agoIt's used to store internal random state.ufo 5y agoBut 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.