Hacker News new | ask | show | jobs
by ajuc 4001 days ago
All PRNGs all just repeating sequences. Usually they are just longer and use clever math to generate the next term of the sequence instead of just storing it in array. But always it repeats itself eventually.

For Doom speed was more important than length of the sequence so they just made it a lookup table.