Compare commits

..

2 Commits

Author SHA1 Message Date
a458e4f55c Add author builtin 2025-03-31 07:59:01 -04:00
8b459cb7cb this is reeeeaaal goooood 2025-03-31 07:58:56 -04:00

View File

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