GitHunt
LO

lost22git/nim_xid

xid for nim lang

Xid for Nim lang

NOTE:
Would be disordered in a second when counter overflow 3bytes.
Not applicable to scenarios where ordered data is imported in batches.
A simple solution:
Compare the id generated each time with the last one. If it is less than the last generated id, wait for a while and try again.

API DOC

Resources

Run tests

nimble test

Run bench

nimble bench

Languages

Nim100.0%

Contributors

Created April 28, 2024
Updated July 10, 2024