I&#39;ve figured out a major portion of the problem.  I can shave ~100 ms off if I change the enforce in std.array.back(), which bounds checks even in release mode and also prevents inlining of std.array.back(), to an assert.  It&#39;s an assert in std.array.front() already.  This is consistent with the idea that arrays should be bounds checked only if asserts are enabled.<br>