Performance

Maybe this will help.  As mentioned in the first commit, I saw pretty close to a 2x increase in speed due to this single change (shaving 150,000 internal PHP calls tends to do that).