DEV Community

Discussion on: NanoID - Alternative To UUID

Collapse
 
pankajtanwarbanna profile image
Pankaj Tanwar

Good stuff. Would you mind elaborating more details of why exactly nanoID is faster then UUID? What architectural changes helped nanoID improve it's speed?

Collapse
 
bibekkakati profile image
Bibek

Hey, I haven't done any in-depth research on both the packages, it's just the practical implementation. But as per NanoID's documentation, they are managing the memory in a better way, which makes them faster than UUID. You can check their benchmarks or you can test it by yourself too.