[PATCH] revset: use "repo.changelog" instead of "list(repo)" for resource efficiency
Bryan O'Sullivan
bos at serpentine.com
Wed Feb 20 18:52:41 UTC 2013
On Wed, Feb 20, 2013 at 5:02 AM, FUJIWARA Katsunori
<foozy at lares.dti.ne.jp>wrote:
> I expected this patch to prevent from immediate creation of "list"
> object containing integers corresponded to all revisions in
> repository, because it may be very large and not be used.
>
The contrib/perf.py extension is useful for quantifying this sort of thing.
Revsets are very performance sensitive, and it's all too easy to regress
performance if you don't measure it. I'd appreciate it if you could post
some before/after numbers for this patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20130220/bf62fec6/attachment-0002.html>
More information about the Mercurial-devel
mailing list