I like how he blew past the suggestion to turn off bounds checking in the comments (which I assume otherwise shouldn't affect the ability to debug), when that looks like almost certainly the reason why the array version is a couple orders of magnitude slower when unoptimized.