19:08
2026-08-16
ziggit.dev
developer-tools
Why does the SIMD path use < instead of <= in std.mem.findScalarPos?
A Zig developer questioned why the SIMD path in std.mem.findScalarPos uses `<` instead of `<=` when checking if a block fits within the slice, noting that a block ending exactly at slice.len is valid.…