emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: weak hash tables


From: Eli Zaretskii
Subject: Re: MPS: weak hash tables
Date: Sat, 06 Jul 2024 15:03:17 +0300

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: Pip Cet <pipcet@protonmail.com>,  Eli Zaretskii <eliz@gnu.org>,  Emacs
>  Devel <emacs-devel@gnu.org>
> Date: Sat, 06 Jul 2024 13:57:52 +0200
> 
> Helmut Eller <eller.helmut@gmail.com> writes:
> 
> > I think finalize_bignum is ever called for something like this:
> >
> >  ./src/emacs -Q -batch -eval '
> >  (dotimes (_ 10000000) (set (quote foo) (ash most-positive-fixnum 10000)))'
> 
> Well, turns out garbage_collect called exactly 0 times.
> 
> Which poses the question where can we put that igc_process_messages, so
> that it doesn't get too expensive (if it is), but is regularly enough
> called even if not idle.
> 
> Maybe_quit, maybe_gc, specbind? Any other ideas?

maybe_gc, I'd say.  But the conditions for actually calling GC will
have to change, of course.



reply via email to

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