##// END OF EJS Templates
convert: use a priority queue for sorting commits, to make sorting faster...
convert: use a priority queue for sorting commits, to make sorting faster To achieve this, we turn commit sorters into classes so they can encapsulate state. This reduces the sorting time from ~30s to ~10s on a 500k-commit prefix of a repo I tried to convert. (and probably reduces the time to sort the whole repo from many tens of minutes to minutes, but I didn't try that again) The date caching gets removed because priority queue already caches the key.

File last commit:

r48883:3d0a9c6e default
r51076:02fe65f7 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;