mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-07-28 18:25:16 +00:00
Added comment to help run exercize 108 with the ReleaseFast flag.
This commit is contained in:
@@ -104,6 +104,11 @@ fn thread_pi(pi: *f64, begin: u64, count: u64) !void {
|
||||
// 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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user