Hacker News new | ask | show | jobs
by GeertJohan 698 days ago
Afaik it depends on the generate function you use. You can let it keep track of the increment when generating, at a performance cost (atomic operations).