[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MPS: weak hash tables
From: |
Helmut Eller |
Subject: |
Re: MPS: weak hash tables |
Date: |
Sun, 07 Jul 2024 17:52:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Sun, Jul 07 2024, Gerd Möllmann wrote:
>>> Oh, I think I found something! "messages" is a let-bound variable
>>> containing all messages. The backtrace goes there. But the backtrace
>>> also prints the values of let-bound variables in closures, so it'll
>>> print all messages recursively, giving us O(N^2) behavior at least...
>>
>> Hm, messages is let-bound in ert-test-run-tests-batch-expensive. How
>> can it have any effect or be effected by other tests?
>
> I thought it maybe comes from here
>
> (defun ert-run-tests (selector listener &optional interactively)
> "Run the tests specified by SELECTOR, sending progress updates to
> LISTENER."
> (let* ((tests (ert-select-tests selector t))
> (stats (ert--make-stats tests selector)))
>
> Haven't checked that though, the lines were too long for me.
You mean "stats", which includes results and possibly big objects of the
previous tests, is included in the backtrace. And
ert-test-run-tests-batch-expensive prints it with altered printer
settings. Could be.
- Re: MPS: weak hash tables, (continued)
- Re: MPS: weak hash tables, Pip Cet, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables, Pip Cet, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables, Helmut Eller, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables,
Helmut Eller <=
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables, Pip Cet, 2024/07/07
- Re: MPS: weak hash tables, Helmut Eller, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables, Helmut Eller, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- Re: MPS: weak hash tables, Pip Cet, 2024/07/07
- Re: MPS: weak hash tables, Gerd Möllmann, 2024/07/07
- MPS: commit limit, Gerd Möllmann, 2024/07/08