]> khamidou — GitHub mirrors - arcanist.git/commit
Linter performance optimization
authorJoshua Spence <josh@joshuaspence.com>
Tue, 7 Jul 2015 07:56:12 +0000 (17:56 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Tue, 7 Jul 2015 08:00:27 +0000 (18:00 +1000)
commitbbccf1dd405902b5bd8ddbca55ce0863beb7e927
tree426e01e8d0dd38da7997fc921ec288a97483e6a8
parentd54cb072facdd0116b20f70317c6e16f95a975a6
Linter performance optimization

Summary: Optimize `ArcanistXHPASTLinterRule::getLintID`.

Test Plan: Compare [[https://secure.phabricator.com/xhprof/profile/PHID-FILE-wwgi4xzupt4z2fvbyff3/?symbol=mpull | before]] and [[https://secure.phabricator.com/xhprof/profile/PHID-FILE-rn2ialomtr2apnkzisb3/?symbol=mpull | after]].

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13541
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/xhpast/ArcanistXHPASTLinterRule.php