3 ms·
I think I prefer my design, but I have the luxury of a GC. The SSO is 64bit, but has no length. strlen on 7 byte can be made constant via SSE. It's just zero te
by rurban 5y ago
I think I prefer my design, but I have the luxury of a GC. The SSO is 64bit, but has no length. strlen on 7 byte can be made constant via SSE.
It's just zero terminated and needs some tag bits, with 00 for the SSO, 01 for longer strings and 10 for view.