8ad52fa095
Bank::vote_accounts redundantly clones vote-accounts HashMap even though an immutable reference will suffice: https://github.com/solana-labs/solana/blob/95c998a19/runtime/src/bank.rs#L5174-L5186 This commit implements copy-on-write semantics for vote-accounts by wrapping the underlying HashMap in Arc<...>. |
||
---|---|---|
.. | ||
benches | ||
src | ||
store-tool | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
build.rs |