3 ms·
I don’t know any other name for it. While this strings are basically SSO (or a twist of it).
by f1shy 9mo ago
I don’t know any other name for it. While this strings are basically SSO (or a twist of it).
- aidenn0 9mo agoFrom TFA and AndyP's slides it seems to specifically refer to a variant of SSO where, for large strings, a fixed-sized prefix of the string is stored along-side the pointer, in the same location as that fixed-size prefix would be fore SSO strings. This means that strings lacking a common prefix can be quickly compared without pointer-chasing (or even knowing if they are small vs large).
- f1shy 9mo agoWell read. basically SSO (or a twist of it)