summaryrefslogtreecommitdiff
path: root/src/simd
diff options
context:
space:
mode:
authorJacob Sandlund <jacob@jacobsandlund.com>2025-09-06 10:42:02 -0400
committerJacob Sandlund <jacob@jacobsandlund.com>2025-09-06 10:42:02 -0400
commit2af08bdbe30d4982cf9ed85de42ca5cd80bcf75c (patch)
treecca3528e486744a073b10ebadefc3868a9c19e14 /src/simd
parentc67f51f3eee62083dc34cdb8eae508a247aa3794 (diff)
trying a bunch of things to get performance to match
Diffstat (limited to 'src/simd')
-rw-r--r--src/simd/codepoint_width.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simd/codepoint_width.zig b/src/simd/codepoint_width.zig
index e2383aff1..008c7ad9f 100644
--- a/src/simd/codepoint_width.zig
+++ b/src/simd/codepoint_width.zig
@@ -29,7 +29,8 @@ test "codepointWidth basic" {
// const uucode = @import("uucode");
//
// const min = 0xFF + 1; // start outside ascii
-// for (min..uucode.code_point_range_end) |cp| {
+// const max = std.math.maxInt(u21) + 1;
+// for (min..max) |cp| {
// const simd = codepointWidth(@intCast(cp));
// const uu = @min(2, @max(0, uucode.get(.wcwidth, @intCast(cp))));
// if (simd != uu) mismatch: {