# seq-str
[](https://crates.io/crates/seq-str)
[](https://crates.io/crates/seq-str)
[](LICENSE)
`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.
## See also
* [flatcontainer](https://github.com/antiguru/flatcontainer) with similar motivation
but a more ambitious approach