async-rs / async-rs/async-std

Channels holding ZST should not allocate buffers

Open
#591 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
4.1k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

If a channel holds values of a zero-sized-type, it should not even allocate a buffer for storing values and stamps.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.