Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Add IndexedQueue contract to optimize draining paths #14

Open
smaldini opened this issue Feb 20, 2016 · 0 comments
Open

Add IndexedQueue contract to optimize draining paths #14

smaldini opened this issue Feb 20, 2016 · 0 comments

Comments

@smaldini
Copy link
Contributor

IndexedQueue usually work with volatile consumer indices. We could define a convention to "batch" increment this index by doing it once at the end of drain loops instead of using queue.poll() that increments index everytime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant