mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-07-28 18:25:16 +00:00
Merge pull request 'Added comment to help run exercize 108_threading2.zig with the ReleaseFast flag.' (#482) from atici/ziglings-exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/482
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
|
// is created. Otherwise the debug functions slow down the speed
|
||||||
// to such an extent that seconds become minutes during execution.
|
// 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",
|
// And you should remove the formatting restriction in "print",
|
||||||
// otherwise you will not be able to see the additional digits.
|
// otherwise you will not be able to see the additional digits.
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user