cats-effect
cats-effect copied to clipboard
Optimized circular buffer async `Queue`
trafficstars
Using the same primitives implemented in #2885, implement a higher performance circularBuffer for Async[F]. This will probably require some fiddling with UnsafeBounded to allow it to run in overwrite mode rather than simply failing whenever the cursors run over each other. It would be worth referring back to jctools to make sure that we don't violate any invariants on the array of sequence ids.