LocaleRegexProvider unnecessarily recompiles the same regex for every active language
|Ready for checkin
|Patch needs improvement:
LocaleRegexProvider compiles every URL regex once per active language. This is in order to support lazily-translated URL patterns, but if the URL pattern is not translated, the extra compilations are useless work. For sites with many active languages, lots of traffic, and non-translated URLs, this can add up to noticeable extra CPU time.