Crates.io | compact_bytes |
lib.rs | compact_bytes |
version | 0.1.3 |
source | src |
created_at | 2023-10-31 21:37:54.389996 |
updated_at | 2024-06-07 18:35:44.763877 |
description | A memory efficient bytes container that transparently stores bytes on the stack, when possible |
homepage | https://github.com/ParkMyCar/compact_bytes |
repository | https://github.com/ParkMyCar/compact_bytes |
max_upload_size | |
id | 1020400 |
size | 51,118 |
compact_bytes
A memory efficient bytes container that can store up to 23 bytes on the stack.
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.