Mercurial > evolve
annotate debian/copyright @ 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 | e3acb8823900 |
children | fc877278f79e |
rev | line source |
---|---|
531
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
1 This software was downloaded from |
2557
e3acb8823900
url: update url to point to https://www.mercurial-scm.org/repo/evolve
André Sintzoff <andre.sintzoff@gmail.com>
parents:
1617
diff
changeset
|
2 https://www.mercurial-scm.org/repo/evolve/ |
531
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
3 |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
4 Copyright 2011 Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
5 Logilab SA <contact@logilab.fr> |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
6 Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
7 Patrick Mezard <patrick@mezard.eu> |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
8 |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
9 |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
10 This software may be used and distributed according to the terms of the GNU |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
11 General Public License version 2 or any later version. |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
12 |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
13 On Debian systems, the complete text of the GNU General Public License version |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
14 2 can be found in `/usr/share/common-licenses/GPL-2'. |
b18b00036355
pkg/debian: Debian packaging
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
15 |