Improve performance for typical use cases by roughly an order of magnitude

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1459390 13f79535-47bb-0310-9956-ffa450edef68
Add an order of magnitude to check results are roughly the same (they are)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1459395 13f79535-47bb-0310-9956-ffa450edef68