[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: Mon, 23 Jul 2012 19:11:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

>>> IMHO, mostly because consing_since_gc means "total size of new
>>> objects which are managed by GC". If we manage some of them by hand,
>>> we shouldn't allow GC to overestimate an amount of work to be done.
>> So, it's only for theoretical reasons?
>> If so, I'd rather we don't bother.

> Hm... not so theoretical. For example, this really helps, especially
> when editing huge fontified buffers (not sure that this is 100%
> correct, BTW):

What helps?  Adding those calls to free_marker, or adding the "decrement
consing_since_gc in free_marker"?  I can believe the first, but I doubt
the second will make much of a difference.


reply via email to

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