D477: revlog: add option to mmap revlog index
simonfar (Simon Farnsworth)
phabricator at mercurial-scm.org
Wed Aug 23 09:06:04 EDT 2017
simonfar added inline comments.
INLINE COMMENTS
> revlog.py:343
> + if self._mmapindex:
> + indexdata = util.buffer(util.mmapread(f))
> + else:
Is there any reason for `mmapread` to not immediately wrap the data in a `util.buffer` for you?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D477
To: mbthomas, #fbhgext, indygreg, #hg-reviewers
Cc: simonfar, mercurial-devel
More information about the Mercurial-devel
mailing list