Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this commit is the result of finding a significant bottleneck in cach…
…egrind files and performance gain up to 4% is measured in testsuites (of local projects). It fixes an inefficient loop in getHookMethods in which unnecessary logic can be executed when method docblock are are not defined. It also minimizes calls to the same methods. Also, the code is verbose enough to understand without the need for extra private methods.
- Loading branch information
1 parent
420d8ca
commit 7107dbb
Showing
1 changed file
with
22 additions
and
38 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