[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MPS: bignums (was: MPS: optimized build)
From: |
Helmut Eller |
Subject: |
MPS: bignums (was: MPS: optimized build) |
Date: |
Tue, 07 May 2024 09:13:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Mon, May 06 2024, Helmut Eller wrote:
> I had to disable the pidigits program because the MPS version ate all
> memory and began to swap. There's probably something wrong with
> bignums.
It seems that bignums aren't freed because that would need finalization.
But as long as Emacs is busy executing the benchmark program, it doesn't
process finalization messages.
We could create a separate finalization thread that processes these
messages. For bignums this thread could call mpz_clear, which I suppose
is thread safe. Things aren't so easy for the case where we need to
call a Lisp function. We could create a timer that calls this function.
WDYT?
- MPS: optimized build, Gerd Möllmann, 2024/05/05
- Re: MPS: optimized build, Andrea Corallo, 2024/05/05
- Re: MPS: optimized build, Gerd Möllmann, 2024/05/05
- Re: MPS: optimized build, Helmut Eller, 2024/05/06
- Re: MPS: optimized build, Andrea Corallo, 2024/05/06
- MPS: bignums (was: MPS: optimized build),
Helmut Eller <=
- Re: MPS: bignums, Gerd Möllmann, 2024/05/07
- Re: MPS: bignums (was: MPS: optimized build), Mattias Engdegård, 2024/05/07
- Re: MPS: bignums, Helmut Eller, 2024/05/07
- Re: MPS: bignums, Gerd Möllmann, 2024/05/07
- Re: MPS: bignums, Mattias Engdegård, 2024/05/07
- Re: MPS: bignums, Gerd Möllmann, 2024/05/07
- Re: MPS: bignums, Helmut Eller, 2024/05/07
- Re: MPS: bignums, Mattias Engdegård, 2024/05/07
- Re: MPS: bignums, Helmut Eller, 2024/05/08
- Re: MPS: bignums, Gerd Möllmann, 2024/05/08