lost22git / nim_xid

xid for nim lang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

xid for nim lang


Languages

Language:Nim 100.0%