https://github.com/abulmo/hqperft/blob/ ... rft.c#L437dangi12012 wrote: ↑Sat Dec 11, 2021 6:17 pmI dont mind adding it. Do you have a repo where it is implemented?tcusr wrote: ↑Sat Dec 11, 2021 6:08 pm why is it faster if the table available at compile? what kind of optimization does the compiler do?
thank you for your tests! would my mind adding hyperbola quintessence?
Ideally i would have 1 file with this interface:So please send me an URL!Code: Select all
void Init() uint64_t Queen(int sq, uint64_t occ)
i can do the translation to C++ if you want
exactly, that's why i was wondering. you're penalizing code like kogge stone that doesn't use lookup tables.it was faster because I replaced old msvc intrinsic the std::countlz.
constexpr does not make it faster when its unknown.
will you publish the code of your tests?