Swap Queue
A lock-free thread-owned queue whereby tasks are taken by stealers in entirety via buffer swapping. This is meant to be used [thread_local
] paired with [tokio::task::spawn
] as a highly-performant take-all batching mechanism that is around ~11% faster than [crossbeam::deque::Worker
] on ARM.
Benchmarks ran on t4g.medium running Amazon Linux 2 AMI (HVM)