compact_bytes

Crates.iocompact_bytes
lib.rscompact_bytes
version0.1.3
sourcesrc
created_at2023-10-31 21:37:54.389996
updated_at2024-06-07 18:35:44.763877
descriptionA memory efficient bytes container that transparently stores bytes on the stack, when possible
homepagehttps://github.com/ParkMyCar/compact_bytes
repositoryhttps://github.com/ParkMyCar/compact_bytes
max_upload_size
id1020400
size51,118
Parker Timmerman (ParkMyCar)

documentation

README

compact_bytes

A memory efficient bytes container that can store up to 23 bytes on the stack.




Note from the Maintainer

This crate was mostly developed for Materialize out of a need for a more compact bytes container. It entirely borrows implementation from compact_str which has been thoughtfully maintained over the past few years by a number of dedicated contributors, including:

For now this repository exists separately from compact_str because it's easier to get started that way. But the plan is to eventually merge the two.

Commit count: 25

cargo fmt