Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Memoize the result of gsubbing @virtual_path
This gets called many times for each virtual_path, creating a new string each time that `translate` is called. We can memoize this so that it only happens once per virtual_path instead.
- Loading branch information