-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store one fiber stack in a
Store<T>
(#9604)
* Store one fiber stack in a `Store<T>` This commit stores a single fiber stack in `Store<T>` as a cache to be used throughout the lifetime of the `Store`. This should help amortize the cost of allocating a stack for use in a store because the same stack can be used continuously throughout the lifetime of the `Store<T>`. This notably reduces contention on the lock used to manage the pooling allocator when possible. * Fix non-async build
- Loading branch information
1 parent
0e6c711
commit 7bd09e6
Showing
3 changed files
with
67 additions
and
13 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
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
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