Skip to content
Snippets Groups Projects
Commit e6754f5e authored by Siddharth Agarwal's avatar Siddharth Agarwal
Browse files

context: generate filtered manifest efficiently for exact matchers

When the matcher is exact, there's no reason to iterate over the entire
manifest. It's much more efficient to iterate over the list of files instead.

For a repository with approximately 300,000 files, this speeds up
hg log -l10 --patch --follow for a frequently modified file from 16.5 seconds
to 10.5 seconds.
parent 090dcaaf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment