Re: [PATCH v2 3/4] Speed up is_git_command() by checking early for internal commands
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Jan 22, 2014, 21:05 UTC
- Message-ID
- <52E03285.2070305@gmail.com>
- In-Reply-To
- <CAHGBnuNNaKNx7FzjoNhorryR5eO2c0VvbUgRc_p01mabOVr+EA@mail.gmail.com>
On 05.01.2014 14:42, Sebastian Schuberth wrote:
Show 7 quoted lines
>>> Since 2dce956 is_git_command() is a bit slow as it does file I/O in the >>> call to list_commands_in_dir(). Avoid the file I/O by adding an early >>> check for internal commands. >> >> Considering the purpose of the series is it better to say "builtin" instead of "internal" in the commit message? > > True, I'll fix this in a re-rool.
Sorry for not coming up with the re-roll until now, but lucky Junio has fixed this himself in c6127fa which already is on master.
-- Sebastian Schuberth