##// 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
/ rust / hg-core / src / revlog
changelog.rs Loading ...
filelog.rs Loading ...
index.rs Loading ...
manifest.rs Loading ...
node.rs Loading ...
nodemap.rs Loading ...
nodemap_docket.rs Loading ...
patch.rs Loading ...
path_encode.rs Loading ...
revlog.rs Loading ...