Short (up to 65,535 bytes) immutable strings to e.g. parse tokens, implemented in Rust. These are sometimes called "German Strings", because Germans have written the paper mentioning them
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add absolute image link

+1 -1
+1 -1
README.md
··· 44 44 45 45 Below are diagrams depicting the memory used by `TokenString`s and small `TokenString`s. 46 46 47 - ![Memory layout diagram](./images/TokenString.svg) 47 + ![Memory layout diagram](https://codeberg.org/Release-Candidate/token-string/raw/branch/main/images/TokenString.svg) 48 48 49 49 The first two bytes of the struct always hold the length of the `TokenString` and 50 50 the next 6 bytes the prefix, which is the first 6 bytes of the string. A short