forked from Spencer/math_shell
Compare commits
3 Commits
a458e4f55c
...
ee5ef262f6
| Author | SHA1 | Date | |
|---|---|---|---|
| ee5ef262f6 | |||
| b415be3ddc | |||
| 9a1d2ef586 |
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user