Mercurial > hg
comparison mercurial/revlogutils/constants.py @ 40979:ba09db267cb6
delta: ignore base whose chains already don't match expectations
If we know the existing chain does not match our criteria, there is no point
to build a delta to append. This is especially useful when dealing with a full
text much smaller than its parent. In that case, the parent chain is probably
already too large.
example affected manifest write
before: 1.421005s
after: 0.815520s (-42%)
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 17 Dec 2018 10:46:37 +0100 |
parents | 8e398628a3f2 |
children | e7a2cc84dbc0 |
comparison
equal
deleted
inserted
replaced
40978:42f59d3f714d | 40979:ba09db267cb6 |
---|