Compare commits

..

3 Commits

Author SHA1 Message Date
ee5ef262f6 go FAST in debug mode 2025-03-31 07:52:43 -04:00
b415be3ddc Add author builtin 2025-03-31 00:31:58 -04:00
9a1d2ef586 this is reeeeaaal goooood 2025-03-31 00:31:55 -04:00

View File

@@ -122,10 +122,10 @@ fn mathTest(rand: Random, limit: i32, iteration: u32) !bool {
defer {
print("Calculating", .{});
for (0..3) |_| {
for (1..4) |_| {
print(".", .{});
if (comptime builtin.mode != .Debug) {
sleep(2 * 1000 * 1000 * 1000);
std.Thread.sleep(2 * 1000 * 1000 * 1000);
}
}
print("\n", .{});
@@ -303,8 +303,6 @@ const tokenizeAny = mem.tokenizeAny;
const process = std.process;
const sleep = std.Thread.sleep;
const Random = std.Random;
const ArrayList = std.ArrayList;
const StaticStringMap = std.static_string_map.StaticStringMap;