[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc

From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed.
Date: Wed, 25 Jul 2012 19:47:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> For xdisp.c, the original results are 600 GCs and 32.65 seconds.

> When free_cons and free_misc subtracts from consing_since_gc,
> and save_restriction_restore frees it's data explicitly, results
> are 560 GCs and 31.95 seconds.

> Of course, explicit free in  save_restriction_restore makes no sense
> if we fool GC with consing_since_gc: 600 GCs and 32.95 seconds.

I see.  I didn't expect that reducing memory use would be so
little difference.  Thanks for giving the details.

> I don't understand why we're still wast^W^Wspending our time with
> such a simple and almost obvious thing.

Because it went against my intuition.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]