Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Turner <dturner@twopensource.com>2014-06-04 07:38:10 +0400
committerJunio C Hamano <gitster@pobox.com>2014-06-06 02:24:50 +0400
commitdde8a902c774268628015705a7767f61af18b865 (patch)
tree063e41ca57518a1e61774f5f5bab1f51c528e083 /t/t1402-check-ref-format.sh
parent79dcccc503ac228630ecf15dcf8e1d9455daef2d (diff)
refs.c: optimize check_refname_component()
In a repository with many refs, check_refname_component can be a major contributor to the runtime of some git commands. One such command is git rev-parse HEAD Timings for one particular repo, with about 60k refs, almost all packed, are: Old: 35 ms New: 29 ms Many other commands which read refs are also sped up. Signed-off-by: David Turner <dturner@twitter.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1402-check-ref-format.sh')
0 files changed, 0 insertions, 0 deletions