Sanmill icon indicating copy to clipboard operation
Sanmill copied to clipboard

Performance

Open calcitem opened this issue 9 months ago • 2 comments

https://github.com/calcitem/Sanmill/commit/7d8042d943bdd5a7e474b6f814f042ac107f1808

d = 20, time=0 Debug

mac: -O0: 30.21s LTO: 25.97s +16%

ios: -O0: 81.44s LTO: 70.26s +16% -Os: 17.49s LTO: 15.80s +11% -Ofast: 16.07

calcitem avatar May 05 '24 08:05 calcitem

fno-exceptions

calcitem avatar May 05 '24 10:05 calcitem

Add -O3 and -flto=thin.

Test case:

 1.    d2    d6
 2.    f4    b4
 3.    d5    b6
 4.    b2    f6xb2
 5.    b2    f2

No Random:
 6.    g7

Before: 29.5s
After: 24s

calcitem avatar May 12 '24 10:05 calcitem