Expand description
“Small string optimization” for a bytes.
Unions§
- Compact
Bytes CompactBytesinlines up-to 23 bytes on the stack, if more than that is required we spill to the heap. The heap representation is not reference counted likebytes::Bytes, it’s just an owned blob of bytes.- Compact
Bytes Slice CompactBytesSliceinlines up-to 15 bytes on the stack, if more than that is required we spill to the heap. The heap representation is not reference counted likebytes::Bytes.