Most people who want UUIDs will generate small numbers of them (maybe a
few hundred thousand) and not require a huge amount of uniqueness (just
for this one application). This module provides a convenient way to obtain
that behavior.
To streamline your usage, this module publicly imports Uuid, so you can
import this module alone.
To use this module, just:
The default PRNG is the Mersenne twister. If you need speed, KISS is about
30 times faster. I chose the Mersenne twister because it's reasonably fast
(I can generate 150,000 per second on my machine) and has a long period.
The KISS generator can produce 5 million per second on my machine.