With these optimizations in place, this branch is faster than master in ReleaseFast, and... not too much slower than master in ReleaseSafe.