Mercurial > evolve
view .hgignore @ 5679:843e1df7912f
head-checking: micro-optimize _filter_obsolete_heads
We move the branch name retrieval after the early continue: it was not
needed before.
On my PyPy clone, this saves about 1.4ms in the time to run
_filter_obsolete_heads() for the branchmap entries of the default branch.
PyPy having lots of closed branches, for the complete analysis
that Heptapod currently performs on each push for PyPy,
this gains around 100ms (2.5% for a total time around 4s).
All those figures on my workstation.
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Tue, 01 Dec 2020 21:05:53 +0100 |
parents | aad37ffd7d58 |
children | ba316ce15040 |
line wrap: on
line source
syntax: re /figures/[^/]+\.png$ ^html/ \.pyc$ ~$ \.swp$ \.orig$ \.rej$ ^tests/.*\.err$ ^tests/easy_run.sh$ ^build/ ^dist/ ^MANIFEST$ ^docs/tutorials/.*\.rst$ \.ico$ tests/\.testtimes ^docs/training/graphs/ ^docs/training/html/ ^docs/training/index.html ^docs/training/graphviz-images/ ^docs/training/img/ ^docs/training/output/ ^docs/training/pandocfilters/