This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Copy-on-write semantics for cached executors can be implemented by a simple Arc<CachedExecutors> as opposed to CowCachedExecutors: https://github.com/solana-labs/solana/blob/f1e2598ba/runtime/src/bank.rs#L244-L247 This will also avoid the need for double locking as in: https://github.com/solana-labs/solana/blob/f1e2598ba/runtime/src/bank.rs#L3490-L3491 https://github.com/solana-labs/solana/blob/f1e2598ba/runtime/src/bank.rs#L3525-L3526 (cherry picked from commit c2389fc) Co-authored-by: behzad nouri <[email protected]>
- Loading branch information
1 parent
9761f5b
commit 662c6be
Showing
1 changed file
with
54 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters