hyperid-rs
Superfast id generator
This is a porting of hyper written in javascript. Thanks to mcollina for that work
Install
Add the dependency to your Cargo.toml
:
[]
= "1"
Usage
use HyperId;
Benchmark
This crate borns for providing a fast id generator. Comparing with uuid crates, on my computer:
$ cargo bench
...
test hyperid ... bench: 9 ns/iter (+/- 1)
test uuid ... bench: 1,657 ns/iter (+/- 148)
...
Prepare for release
# wait for CI
License
See LICENSE file