Mercurial > hg
diff tests/test-context.py.out @ 31134:c22253c4c1b8
revert: remove set(mf) because it's O(manifest)
The revert code had a 'set(manifest)' line in it, which has a runtime equivalent
to the size of the manifest. With alternative manifest implementations, like
treemanifest, this can be extra expensive. Let's rewrite it to be O(changes)
instead of O(manifest size).
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 01 Mar 2017 19:51:05 -0800 |
parents | bfce25d25c96 |
children | 59aec562a50b |