Start refactoring counters
turned to C++ style struct/class
Only check termination at end of slices
Hoist some change to proj out of main loop. No performance change
Gets rid of the 'if (i < N - 1)' branch, but loses performance
tweaked the templates based code, now as fast as no-templates if -Os is used on Clang
starts working (again) on bit-packing
Changed the template architecture for more freedom. Added an empty_slot parameter, currently unused
Simplified the templates
Makes use of empty_slot for a small performance improvement
Refactor the counters
More template voodoo, for a disappointing 2main.cpp