[Top][All Lists]

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

Re: Changes to th new GC percentage feature

From: Stefan Monnier
Subject: Re: Changes to th new GC percentage feature
Date: Sun, 31 Jul 2005 11:28:32 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>     what exactly is it trying to do?  The only changes I can notice are:
>     - the bytecode interpreter and the eval and funcall functions now
>       check two values rather than one, thus being slower.
>     - read_char tests gc_cons_threshold.

> There is code that temporarily changes gc_cons_threshold to prevent
> GC from occurring.  It was broken and caused an infinite recursion.

I thought I had carefully updated it to change
gc_cons_combined_threshold instead.

> I think this is the clean fix.


> The slowdown is surely insignificant.

I'd expect it to be measurable since it's executed at the very least least
once per iteration of any loop.


reply via email to

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