Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using moodycamel::readerwriterqueue for SpscQueue #71

Open
itrofimow opened this issue Aug 2, 2022 · 0 comments
Open

Consider using moodycamel::readerwriterqueue for SpscQueue #71

itrofimow opened this issue Aug 2, 2022 · 0 comments
Labels
big A big feature help wanted We would appreciate PR

Comments

@itrofimow
Copy link
Contributor

There exists https://github.com/cameron314/readerwriterqueue, which might be a better fit for concurrent::SpscQueue – it has to be faster than full-featured moodycamel::ConcurrentQueue and it should also require less memory.

There is some confusion between readme and docs:
In readme it's stated that

It only supports a two-thread use case (one consuming, and one producing). The threads can't switch roles, ...

However inline docs elaborate that, leaving a room for experimentation.

@apolukhin apolukhin added help wanted We would appreciate PR big A big feature and removed enhancement labels Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
big A big feature help wanted We would appreciate PR
Projects
None yet
Development

No branches or pull requests

3 participants