WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 41502688

(no title)

5kg | 1 year ago

There is FxHashMap (https://github.com/rust-lang/rustc-hash) which is faster than std::collections::HashMap.

With ~100 static entries, o1hash (https://github.com/rurban/smhasher/blob/master/o1hash.h) should also work.

discuss

order

rapsey|1 year ago

Note FxHashMap is just the std HashMap with a different hashing algorithm.
powered by hn/api // news.ycombinator.com