Changes between Version 2 and Version 3 of Ticket #7321


Ignore:
Timestamp:
03/01/2019 11:03:56 AM (8 months ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7321 – Description

    v2 v3  
    22In #7052 and #7209 we stopped using regular expressions for literal patterns. As part of this, we started converting case-insensitive literal patterns to lower case, then comparing such patterns with the lower-case version of the request URL. 
    33 
    4 ticket:7318#comment:1 (Sebastian) suggested that we might benefit from lower-casing the pattern for non-literal patterns as well (those that are eventually converted to a `RegExp` object). In my tests, a case-sensitive `RegExp` object is indeed significantly faster. 
     4ticket:7318#comment:1 (Sebastian) suggested that we might benefit from lower-casing the pattern for non-literal patterns as well (those that are eventually converted to `RegExp` objects). In my tests, a case-sensitive `RegExp` object is indeed significantly faster. 
    55 
    66=== What to change ===