| Crates.io | smallqueue |
| lib.rs | smallqueue |
| version | 0.1.0 |
| created_at | 2018-11-16 03:24:43.984617+00 |
| updated_at | 2018-11-16 03:24:43.984617+00 |
| description | A queue with a no-alloc optimization when the size is 1 or 0. |
| homepage | |
| repository | https://github.com/gretchenfrage/smallqueue |
| max_upload_size | |
| id | 96931 |
| size | 4,327 |
A FIFO queue which stores its data in-place when containing 0 or 1 elements, but expands to a dynamically sized heap allocation when more elements are inserted, and can free its heap allocation if the size returns later to 1 or 0.