Performance
Opened this issue · 2 comments
calcitem commented
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 commented
fno-exceptions
calcitem commented
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