mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
3ed8d7b512
Summary: `revlog.ancestor` is expensive on long changelog, but is only called a few (about 30) times for smartlog usage. Therefore we could simply cache the result in a key-value database. This speeds up smartlog by about 200ms. Test Plan: Added a new test Reviewers: #mercurial, stash Reviewed By: stash Subscribers: stash, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D5135746 Signature: t1:5135746:1495783503:411260551fd29fda42c9fc809b56f8f77fb2eaf4 |
||
---|---|---|
.. | ||
hg-new-workdir | ||
lint.py | ||
scm-prompt.sh | ||
traceprof.py | ||
unit.py | ||
utils.py | ||
with-hg-dev |