solana/core
behzad nouri 2758588ddd
uses btree-map instead of hash-map for cluster-slots (#15194)
retain traverses all values in the hashmap which is slow:
https://github.com/solana-labs/solana/blob/88f22c360/core/src/cluster_slots.rs#L45
btree-map instead allows more efficient prunning there.

In addition there is potential race condition here:
https://github.com/solana-labs/solana/blob/88f22c360/core/src/cluster_slots.rs#L68-L74
If another thread inserts a value at the same slot key between the read
and write lock, current thread will discard the inserted value.
2021-02-09 22:04:41 +00:00
..
benches removes redundant epoch stakes cache in retransmit (#14781) 2021-01-24 21:15:09 +00:00
src uses btree-map instead of hash-map for cluster-slots (#15194) 2021-02-09 22:04:41 +00:00
tests use thread pool for non-index hash calculations (#15149) 2021-02-05 19:48:55 +00:00
.gitignore tmp dirs target to farf (#5079) 2019-07-12 18:28:42 -07:00
Cargo.toml chore: bump serde from 1.0.118 to 1.0.122 (#15126) 2021-02-05 19:23:24 +09:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00