| ... | @@ -665,7 +665,7 @@ fn eqlBytes(a: []const u8, b: []const u8) bool { | ... | @@ -665,7 +665,7 @@ fn eqlBytes(a: []const u8, b: []const u8) bool { |
| 665 | | 665 | |
| 666 | // Figure out the fastest way to scan through the input in chunks. | 666 | // Figure out the fastest way to scan through the input in chunks. |
| 667 | // Uses vectors when supported and falls back to usize/words when not. | 667 | // Uses vectors when supported and falls back to usize/words when not. |
| 668 | const Scan = if (std.simd.suggestVectorSize(u8)) |vec_size| | 668 | const Scan = if (std.simd.suggestVectorLength(u8)) |vec_size| |
| 669 | struct { | 669 | struct { |
| 670 | pub const size = vec_size; | 670 | pub const size = vec_size; |
| 671 | pub const Chunk = @Vector(size, u8); | 671 | pub const Chunk = @Vector(size, u8); |