D1622: transaction: Use intbitset for implementing changes['phase']

2017-12-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. Like I said, this is primarily a proof of concept. I'm still playing with different approaches and I don't think intbitset is a good fit for other reasons, but it worked the best from the various pre-existing implementations. REPOSITORY rHG Mercurial

D1622: transaction: Use intbitset for implementing changes['phase']

2017-12-09 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. > Although this is definitely better for the clone case. intbitset does not seem to implement segmented bitsets so the memory usage could in theory be worse for other cases.

D1622: transaction: Use intbitset for implementing changes['phase']

2017-12-08 Thread quark (Jun Wu)
quark added a comment. Although this is definitely better for the clone case. intbitset does not seem to implement segmented bitsets so the memory usage could in theory be worse for other cases. INLINE COMMENTS > localrepo.py:1283 > tr.changes['obsmarkers'] = set() > -

D1622: transaction: Use intbitset for implementing changes['phase']

2017-12-08 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1622 AFFECTED FILES mercurial/localrepo.py CHANGE DETAILS diff --git