Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of hashRegExp lookup
For applications with a very large number of assets, the cost of invoking a single regular expression with many many values in a group becomes very high. By changing to a list of regular expressions (with helper methods for maintaining the original design) we can get a large performance improvement.
- Loading branch information
1 parent
b67626c
commit cfdb1df
Showing
1 changed file
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters