I'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'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.
_______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
