From 9a1ff492069a587b7921fc40568a78da380ae568 Mon Sep 17 00:00:00 2001 From: atici Date: Sat, 27 Jun 2026 23:36:09 +0300 Subject: [PATCH 1/2] 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. From 719f7f0740efc7e3076afbac9d76333ac34df04e Mon Sep 17 00:00:00 2001 From: atici Date: Wed, 1 Jul 2026 16:22:20 +0300 Subject: [PATCH 2/2] removed weird characters --- exercises/108_threading2.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/108_threading2.zig b/exercises/108_threading2.zig index f7921ca..3f7bc7c 100644 --- a/exercises/108_threading2.zig +++ b/exercises/108_threading2.zig @@ -103,10 +103,10 @@ 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 +// +// 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",