10 ms·
Templates are amazing at helping to extract performance from things by moving run time decisions to compile time when done well. I usually only go there when th
by a1o 3y ago
Templates are amazing at helping to extract performance from things by moving run time decisions to compile time when done well. I usually only go there when the profiler points me somewhere is either acting as a bottleneck or something requires to perform better. You can then even decide to go even further through branching to cases you can go into SIMD intrinsics.