Expand description
Types implementing the flyweight pattern for reusing object allocations.
Structs§
- FlyByte
Str - An immutable bytestring type which only stores a single copy of each string allocated. Internally represented as a shared pointer to the backing allocation. Occupies a single pointer width.
- FlyStr
- An immutable string type which only stores a single copy of each string allocated. Internally represented as a shared pointer to the backing allocation. Occupies a single pointer width.