Some benchmarking found that using the register keyword on carefully
selected iterators (and a few other variables) could speed up
the execution of loops by anywhere from 20% to 100%, so begin doing
that and some other performance optimizations...