[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.
- Re: MPS: weak hash tables, (continued)
- Re: MPS: weak hash tables, Helmut Eller, 2024/07/06
- Re: MPS: weak hash tables, Eli Zaretskii, 2024/07/06
- Re: MPS: weak hash tables, Helmut Eller, 2024/07/06
- Re: MPS: weak hash tables, Eli Zaretskii, 2024/07/06
- Re: MPS: weak hash tables, Helmut Eller, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Eli Zaretskii, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Pip Cet, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables,
Eli Zaretskii <=
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Pip Cet, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Eli Zaretskii, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Eli Zaretskii, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Helmut Eller, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/06