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

special casing 1 entry bounded channel #1137

Open
ksolana opened this issue Sep 24, 2024 · 1 comment
Open

special casing 1 entry bounded channel #1137

ksolana opened this issue Sep 24, 2024 · 1 comment

Comments

@ksolana
Copy link

ksolana commented Sep 24, 2024

Currently for bounded channel.rs crossbeam uses SenderFlavor::Array. Agave's poh recorder uses a bounded channel of single capacity. Special casing channel for 1 capacity can simplify this part. Is there any interest in creating a separate SenderFlavor for this?

@taiki-e
Copy link
Member

taiki-e commented Sep 24, 2024

The previous attempt was #199 (comment).

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

No branches or pull requests

2 participants