perf: add benchmark, optimize
Realized about a 10x speedup. - add benches/million-updates.rs - optimization: use rand instead of nanorand (because of thread_rng() initialization being muchf aster) - update README Signed-off-by: Stephen Waits <steve@waits.net>
This commit is contained in:
1 parent
84a818b9b9
commit
737f533f7e
7 files changed
+90
-16
No files matched your search
@@ -1,2 +1,3 @@
|
||||
/flamegraph.svg
|
||||
/target
|
||||
Cargo.lock
|
||||
Reference in new issue
Block a user