-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*: use FnvHashMap again #2211
*: use FnvHashMap again #2211
Conversation
Why OrderMap is prefered now? The result seems conflict with the previous benchmark, so which is correct? |
Actually, fnv hashmap is prefered now :-P |
FYI, rust has an issue (rust-lang/rust#39773) about |
any performance improved for TiKV? |
FnvHashMap slightly improves performance. RawKV puts on 1 TiKV.
|
Probably influenced by this PR as well rust-lang/rust#40561 |
Thanks for pointing out! @arthurprs Your implementation has been adopted since nightly-2017-04-07. I did benchmarks for both nightly-2017-04-07 and nightly-2017-04-06 (the old). 04-07 is faster! Left: 04-06
|
I think we can reuse FNV again What is your opinion, @BusyJay? |
LGTM |
1 similar comment
LGTM |
Benchmark at https://github.com/overvenus/benches-rust
Base on the benchmark, fnv hash map outperforms ordermap and fnv ordermap.