We can avoid a SPACE(len(changelog)) allocation by using a defaultdict.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHG8287df8b7be5: hbisect: use a defaultdict to avoid large allocations for a large changelogs
python run-tests.py test-bisect*
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Queued, thanks. I don't have any number, but this seems good for a common
scenario in which a small part of a large repository will be bisected.