calcitem/Sanmill

Performance

Opened this issue · 2 comments

7d8042d

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

fno-exceptions

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