-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract config processing from __invoke()
Replacements initialization depends on additional configuration from config, for that reason it is delayed until config post processor is invoked. However, __invoke() method is used recursively leading to unneccessary reinitialization of Replacements and a significant performance hit. Functionality is extracted into processConfig() to be used internally for recursive calls. Signed-off-by: Aleksei Khudiakov <[email protected]>
- Loading branch information
Showing
2 changed files
with
64 additions
and
58 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
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