diff options
| author | Joshua Lockerman <j@Js-MacBook-Air.home> | 2017-09-29 15:58:11 -0400 |
|---|---|---|
| committer | Joshua Lockerman <j@Js-MacBook-Air.home> | 2017-10-01 12:15:35 -0400 |
| commit | 68341a91eecb830c57779cd2423733a7395258ab (patch) | |
| tree | 851726d9a606ab4ffd49b719f741dd856e09dfd1 /src/rustllvm/PassWrapper.cpp | |
| parent | 0e6f4cf51cd3b799fb057956f8e733d16605d09b (diff) | |
| download | rust-68341a91eecb830c57779cd2423733a7395258ab.tar.gz rust-68341a91eecb830c57779cd2423733a7395258ab.zip | |
Improve performance of spsc_queue and stream.
This commit makes two main changes. 1. It switches the spsc_queue node caching strategy from keeping a shared counter of the number of nodes in the cache to keeping a consumer only counter of the number of node eligible to be cached. 2. It separate the consumer and producers fields of spsc_queue and stream into a producer cache line and consumer cache line.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
