[Changed Subscribers] D11731: rhg: lazily get filesystem metadata

aalekseyev (Arseniy Alekseyev) phabricator at mercurial-scm.org
Tue Nov 2 12:21:45 UTC 2021


aalekseyev added a comment.
aalekseyev added a subscriber: SimonSapin.


  @SimonSapin, this is a proof-of-concept patch I mentioned to you. It provides a large performance improvement in my benchmarks (in particular when running stat -mard), although I'm not entirely sure it's covered with tests.
  It's not quite finished, in particular it doesn't handle the case when the filesystem doesn't return the file type. It also almost certainly doesn't work on Windows, but if we like the benchmarks then that can be worked out.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11731/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11731

To: aalekseyev, #hg-reviewers
Cc: SimonSapin, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211102/c7994770/attachment-0002.html>


More information about the Mercurial-patches mailing list