Added comment to help run exercize 108 with the ReleaseFast flag.

This commit is contained in:
atici
2026-06-27 23:36:09 +03:00
committed by atici
parent 89fe65c158
commit 9a1ff49206
+5
View File
@@ -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.