1 unstable release

0.1.0 Feb 16, 2023

#2504 in Algorithms

MIT/Apache

13KB
330 lines

SemiStr

Intro

An immutable string stored inline or on heap.

It occuipies 16 bytes on stack.

Inline: 4-byte length + 12 bytes data. Heap: 4-byte length + 4-byte prefix data + 8-byte pointer to atomic reference counting data.

License

This project is licensed under either of

at your option.

Dependencies

~245–700KB
~16K SLoC