crossbeam icon indicating copy to clipboard operation
crossbeam copied to clipboard

special casing 1 entry bounded channel

Open ksolana opened this issue 1 year ago • 1 comments

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?

ksolana avatar Sep 24 '24 18:09 ksolana

The previous attempt was https://github.com/crossbeam-rs/crossbeam/issues/199#issuecomment-1019549315.

taiki-e avatar Sep 24 '24 19:09 taiki-e