]> khamidou — GitHub mirrors - arcanist.git/commit
Memoize paths
authorJoshua Spence <josh@joshuaspence.com>
Mon, 27 Apr 2015 13:20:31 +0000 (23:20 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 27 Apr 2015 13:20:31 +0000 (23:20 +1000)
commit46ce8a5a35f9057b30151b5cb99a80642d913d22
tree37a43d422cfc91b0aaed7731a88e21c7d1cd86ac
parent805ae12408e8abb1712670b31366a11c83ff05c3
Memoize paths

Summary: Ref T7892. Memoize paths returned from `ARcanistLinter::getPaths()` to improve runtime performance.

Test Plan: Wiped ~0.5 seconds off the total time to lint rARC.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T7892

Differential Revision: https://secure.phabricator.com/D12520
src/lint/linter/ArcanistLinter.php