summary refs log tree commit diff
path: root/src/libstd/sync/mpsc/cache_aligned.rs
AgeCommit message (Collapse)AuthorLines
2019-02-28libstd => 2018Taiki Endo-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2017-10-01Improve performance of spsc_queue and stream.Joshua Lockerman-0/+37
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.