solana/programs
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
..
address-lookup-table Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
address-lookup-table-tests Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
bpf uses OnceCell instead of RwLock+Once to cache vote-state in vote-account (#26257) 2022-06-29 11:45:53 +00:00
bpf_loader Detect and reject invalid AccountInfo reallocations 2022-06-29 09:15:59 +01:00
compute-budget Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
config Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
ed25519-tests Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
stake Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
vote Fix active vote account close error (#26250) 2022-06-28 20:35:23 +01:00
zk-token-proof Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00