sapling/eden/scm/edenscm
Durham Goode 41b0cf71e8 mutation: remove exponential algorithm from obsoletenodes
Summary:
Computing all successorsets is exponential with the number of splits
that have happened. This can slow things down tremendously.

The obsoletenodes path only needs to know "is there a visible successor" in
order to determine if a draft commit is obsolete. Let's use allsuccessors
instead of successorset.

Reviewed By: quark-zju

Differential Revision: D23771025

fbshipit-source-id: 666875e681c2e3306fc301357c95f1ab5bb40a87
2020-09-17 18:29:40 -07:00
..
hgdemandimport demanedimportpy3: fix demandimport for ipdb 2020-06-22 08:59:14 -07:00
hgext introduce commands for renaming workspaces and rehost workspace 2020-09-17 17:45:05 -07:00
mercurial mutation: remove exponential algorithm from obsoletenodes 2020-09-17 18:29:40 -07:00
__init__.py start adding type annotations for the cext code 2020-02-21 13:54:19 -08:00
__main__.py edenscm: add a main module 2020-01-30 18:09:14 -08:00
hooks.py py3: fix conflictinfo compatibility 2020-09-01 18:31:35 -07:00
traceimport.py debugshell: improve "%trace" UX 2020-09-01 13:49:13 -07:00