Closed MrOxMasTer closed 2 weeks ago
Why does nanoid lose out in terms of the number of operations per second to uuid?
Because uuid
uses built-in UUID generator from Node.js, which is more memory efficient because it was written on C.
I just don't understand if it makes sense for me to use this library other than short id?
Nano ID has 2 reasons to use it over uuid
:
Why does nanoid lose out in terms of the number of operations per second to uuid?
Before that, it was the opposite:
And a question. Have there been any comparisons and benchmarks in postgresql using nanoid and 128-bit UUID. I just don't understand if it makes sense for me to use this library other than short id?