diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-09-20 19:49:29 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-09-20 20:28:25 -0700 |
| commit | 10dc9353b7b5d85179ef7b1305fe9d5a73ff392d (patch) | |
| tree | fec32318bccc6a55023b00ba23a60b35cf26a4b4 /src/benchmark | |
| parent | 511314e1a1ecfa5ed21dbc8eabfd0aeecb27b792 (diff) | |
unicode: delete props.zig and clean up symbols deps too
Follow up to #8810
Same reasoning.
Diffstat (limited to 'src/benchmark')
| -rw-r--r-- | src/benchmark/IsSymbol.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/benchmark/IsSymbol.zig b/src/benchmark/IsSymbol.zig index 5b2ffd425..ce635626a 100644 --- a/src/benchmark/IsSymbol.zig +++ b/src/benchmark/IsSymbol.zig @@ -10,7 +10,8 @@ const Allocator = std.mem.Allocator; const Benchmark = @import("Benchmark.zig"); const options = @import("options.zig"); const UTF8Decoder = @import("../terminal/UTF8Decoder.zig"); -const symbols = @import("../unicode/symbols.zig"); +const symbols = @import("../unicode/symbols_ziglyph.zig"); +const symbols_table = @import("../unicode/symbols_table.zig").table; const log = std.log.scoped(.@"is-symbol-bench"); @@ -127,7 +128,7 @@ fn stepTable(ptr: *anyopaque) Benchmark.Error!void { const cp_, const consumed = d.next(c); assert(consumed); if (cp_) |cp| { - std.mem.doNotOptimizeAway(symbols.table.get(cp)); + std.mem.doNotOptimizeAway(symbols_table.get(cp)); } } } |
