4 ms·
> > There are tricks that let them do this 8 bytes at a time (on AMD64, 4 bytes on x86) > It's actually 16 bytes at a time on any machine that supports SSE (ma
by marshray 14y ago
> > There are tricks that let them do this 8 bytes at a time (on AMD64, 4 bytes on x86)
> It's actually 16 bytes at a time on any machine that supports SSE (maybe 32 bytes soon with AVX).
Is there a sequence of fewer than 16 instructions to spot a NUL byte inside the 16 byte block?