| Crates.io | seq-str |
| lib.rs | seq-str |
| version | 0.1.4 |
| created_at | 2025-09-09 21:07:58.175634+00 |
| updated_at | 2025-09-09 22:42:06.989043+00 |
| description | Flat collections of strings etc. |
| homepage | |
| repository | https://github.com/cbeck88/seq-str |
| max_upload_size | |
| id | 1831634 |
| size | 43,248 |
seq-str provides alternatives to Vec<String> and Vec<Vec<u8>> which store
all the data in contiguous memory. The types SeqStr and SeqBytes can often
be drop-in replacements, for improved memory locality and fewer memory allocations.
These types also support "emplace"-like APIs such as in_place_writer, which
allow writing the next element directly into the contiguous buffer.
SeqStr::from_display_iter allows you to collect any iterator of impl Display,
where all formatting takes place directly in the contiguous buffer.