solana/frozen-abi
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
..
macro Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -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
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 Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00