ReviewOS

also looking at this

zig-utils/zig-regex

Port to latest zig-master

#2
Closed armagidon-exception wants to merge main into main
53 files +1149 -1017
src/benchmark.zigmodifiedformatting only+2-2
Changes to src/benchmark.zig
@@ -26,7 +26,7 @@ pub fn benchmark(
2626 const avg_ns = elapsed_ns / iterations;
2727 const avg_us = avg_ns / 1000;
2828
29 std.debug.print("{s}: {d} iterations, avg {d}μs per match\n", .{name, iterations, avg_us});
29 std.debug.print("{s}: {d} iterations, avg {d}μs per match\n", .{ name, iterations, avg_us });
3030}
3131
3232pub fn benchmarkCompile(
@@ -47,5 +47,5 @@ pub fn benchmarkCompile(
4747 const avg_ns = elapsed_ns / iterations;
4848 const avg_us = avg_ns / 1000;
4949
50 std.debug.print("{s}: {d} compilations, avg {d}μs per compile\n", .{name, iterations, avg_us});
50 std.debug.print("{s}: {d} compilations, avg {d}μs per compile\n", .{ name, iterations, avg_us });
5151}