In preperation for updating the reverse-branch-cache incrementally
whenever a new changeset comes in, avoid bad performance on resize with
Python 3.7 (and likely other 3.x versions).
Details
Details
- Reviewers
marmoute pulkit - Group Reviewers
hg-reviewers - Commits
- rHG1726a53a8494: reverse-branch-cache: switch to doubling allocating scheme
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
This is clearer. For extra clarity I would probably use something like:
extendsize = (requiredsize * 2) - rbccur
This give about the same result but is simpler to read.