woopsJoost Buijs wrote: ↑Sat Dec 01, 2018 9:16 amHaha, I always thought it was << 1, always good to learn something new.
Java: white ? repeat : repeat;
Moderators: hgm, Rebel, chrisw
-
- Posts: 17
- Joined: Sun Nov 11, 2018 1:28 pm
- Full name: Laurent Laborde
Re: Java: white ? repeat : repeat;
-
- Posts: 434
- Joined: Thu Apr 26, 2012 1:51 am
- Location: Oak Park, IL, USA
- Full name: Erik Madsen
Re: Java: white ? repeat : repeat;
Very nice. But that's why I measured it to confirm it was indeed faster with my compiler and runtime. Theory is great, but if you want to know which horse is faster, then race your horses.I have a surprise for you : Clang notice you're doing a popcnt and replace the code with the asm instruction
My C# chess engine: https://www.madchess.net