2 ms·
The article does caveat that you must be able to safely read 4 bytes of data even if the string is shorter.
by secondcoming 3y ago
The article does caveat that you must be able to safely read 4 bytes of data even if the string is shorter.
- duskwuff 3y agoIt also implicitly requires that you be able to perform an unaligned 32-bit read. On some architectures, this will trap; on many others, it's slow.