From 9a1ff492069a587b7921fc40568a78da380ae568 Mon Sep 17 00:00:00 2001 From: atici Date: Sat, 27 Jun 2026 23:36:09 +0300 Subject: [PATCH] Added comment to help run exercize 108 with the ReleaseFast flag. --- exercises/108_threading2.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exercises/108_threading2.zig b/exercises/108_threading2.zig index f143b40..f7921ca 100644 --- a/exercises/108_threading2.zig +++ b/exercises/108_threading2.zig @@ -103,6 +103,11 @@ fn thread_pi(pi: *f64, begin: u64, count: u64) !void { // the compiler must be given the "-O ReleaseFast" flag when it // is created. Otherwise the debug functions slow down the speed // to such an extent that seconds become minutes during execution. +// +// You can use the following command to build and run this +// exercise with the "ReleaseFast" flag: +// +// zig run exercises/108_threading2.zig -O ReleaseFast // // And you should remove the formatting restriction in "print", // otherwise you will not be able to see the additional digits.