One problem with caching output, i.e. the 736 bytes, is jitter. Having every nth packet/record be inexplicably slower kills :(
I don't think you can compare so neatly to RAND_bytes, without thread/fork safety. Either need locks or thread-local storage + fork-guard.
-
-
Which will add slowness, or memory, or more likely a bit of both. Obviously the underlying algorithm is better, but locks esp can dominate.
-
Sure. But my point is that you're already doing a mix of miscellaneous microsecond-scale operations. This RNG is always faster than that.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.