##// END OF EJS Templates
merge: add mergeresult.mapaction to improve speed...
merge: add mergeresult.mapaction to improve speed As a part of [hg update] we convert all [ACTION_CREATED] merge results into [ACTION_GET] actions, and that's slightly inefficient because every insertion pays the full cost of maintaining the [mergeresult] data structure up to date. This commit adds a function [mapaction], which is faster. (saves around 0.3s on a large update involving ~400k files)
Arseniy Alekseyev -
r50806:c7a04bfa default
Show More
Name Size Modified Last Commit Author
/ mercurial / upgrade_utils
__init__.py Loading ...
actions.py Loading ...
auto_upgrade.py Loading ...
engine.py Loading ...