solana/runtime
behzad nouri af7f08eba4
uses OnceCell instead of RwLock+Once to cache vote-state in vote-account (#26257)
RwLock seems excessive since only the very 1st call to VoteAccount::vote_state
will write-lock the inner field. Future calls would also incur overhead of an
RwLockReadGuard.
once_cell::sync::OnceCell provides a matching api to the desired functionality.
2022-06-29 11:45:53 +00:00
..
benches Add StatusCache::root_slot_deltas() and use it (#26170) 2022-06-23 15:19:06 -05:00
src uses OnceCell instead of RwLock+Once to cache vote-state in vote-account (#26257) 2022-06-29 11:45:53 +00:00
store-tool Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
tests Make stake integration tests aware of stake minimum delegation (#24809) 2022-04-28 18:11:39 -05:00
.gitignore
Cargo.toml uses OnceCell instead of RwLock+Once to cache vote-state in vote-account (#26257) 2022-06-29 11:45:53 +00:00
build.rs