D1499: hbisect: use a defaultdict to avoid large allocations for a large changelogs

2017-11-24 Thread dsp (David Soria Parra)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8287df8b7be5: hbisect: use a defaultdict to avoid large allocations for a large changelogs (authored by dsp, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1499: hbisect: use a defaultdict to avoid large allocations for a large changelogs

2017-11-24 Thread yuja (Yuya Nishihara)
yuja added a comment. 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. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1499 To: dsp, #hg-reviewers, yuja Cc:

D1499: hbisect: use a defaultdict to avoid large allocations for a large changelogs

2017-11-23 Thread dsp (David Soria Parra)
dsp created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We can avoid a SPACE(len(changelog)) allocation by using a defaultdict. TEST PLAN python run-tests.py test-bisect* REPOSITORY rHG Mercurial REVISION DETAIL