##// 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)

File last commit:

r48883:3d0a9c6e default
r50806:c7a04bfa default
Show More
dirstate_tree.rs
5 lines | 99 B | application/rls-services+xml | RustLexer
pub mod dirstate_map;
pub mod on_disk;
pub mod owning;
pub mod path_with_basename;
pub mod status;