Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With the counter-based RNG approach, apparently one idea is that you uniquely identify child nodes in your tree somehow. That is, each work unit is a node with a unique ID that's deterministically assigned and has nothing to do with random number generation at all. Then you use that to pick the random stream.

An API that uses split or jump seems a little easier to screw up.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: