You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was labelled with: A-libs, I-enhancement, I-slow in the Rust repository
I found this was necessarily to avoid double-hashing with a shard-based concurrent hash table like Java's ConcurrentHashMap as the hash needs to be calculated to pick the correct shard.
This could be done by hoisting out the open-addressing implementation, but it will result in it requiring the hashes to be stored in the table rather than it just being an implementation detail.
The text was updated successfully, but these errors were encountered:
Tuesday Nov 26, 2013 at 03:05 GMT
For earlier discussion, see rust-lang/rust#10661
This issue was labelled with: A-libs, I-enhancement, I-slow in the Rust repository
I found this was necessarily to avoid double-hashing with a shard-based concurrent hash table like Java's
ConcurrentHashMap
as the hash needs to be calculated to pick the correct shard.https://github.com/thestinger/rust-core/blob/master/core/concurrent.rs#L299
This could be done by hoisting out the open-addressing implementation, but it will result in it requiring the hashes to be stored in the table rather than it just being an implementation detail.
The text was updated successfully, but these errors were encountered: