semistr

Crates.iosemistr
lib.rssemistr
version0.1.0
sourcesrc
created_at2023-02-16 07:52:55.60909
updated_at2023-02-16 07:52:55.60909
descriptionImmutable string stored inline or on heap
homepage
repositoryhttps://github.com/jiangzhe/semistr/
max_upload_size
id786571
size24,206
Jiang Zhe (jiangzhe)

documentation

README

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.

Commit count: 1

cargo fmt