Minor cleanup after performance tests

After testing multiple ways of doing this operation this is the fastest achievable with the lone exception being a full-blown parser.