XMash Rush (CC07) - Feedback & Strategies


#62

About popcountll in signed, it just works the same and compiles OK.
https://godbolt.org/z/Q1jvII
https://tech.io/snippet/eoxDhtY
All possible functions leads to the same assembler. Even the int countCasted(long long C), where I use an union{} to reinterpret bits from signed as unsigned. There is 0 penalty on these.