4 ms·Just take the C code and replace function pointers with templated code. There, the C++ version is now faster.by iopq 7y agoJust take the C code and replace function pointers with templated code. There, the C++ version is now faster.