[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36566: 27.0.50; debug is sometimes horribly slow
From: |
Lars Ingebrigtsen |
Subject: |
bug#36566: 27.0.50; debug is sometimes horribly slow |
Date: |
Sat, 14 May 2022 13:35:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Changing `edebug-print-level' helps... Maybe the default is too
> large?
Changing it to 20 doesn't seem to have much effect, but at 10, things
are pretty speedy. The problem then is that the output is all dots:
Result: ((((((((((... ...) (... ...)) ((... ...) (... ...))) (((... ...) (...
...)) ((... ...) (... ...)))) ((((... ...) (... ...)) ((... ...) (... ...)))
(((... ...) (... ...)) ((... ...) (... ...))))) (((((... ...) (... ...)) ((...
...) (... ...))) (((... ...) (... ...)) ((... ...) (... ...)))) ((((... ...)
(... ...)) ((... ...) (... ...))) (((... ...) (... ...)) ((... ...) (...
...)))))) ((((((... ...) (... ...)) ((... ...) (... ...))) (((... ...) (...
...)) ((... ...) (... ...)))) ((((... ...) (... ...)) ((... ...) (... ...)))
(((... ...) (... ...)) ((... ...) (... ...))))) (((((... ...) (... ...)) ((...
...) (... ...))) (((...
It goes on like that for 6K.
I suspect that we need a better algorithm for identifying and dealing
with tree structures. That is, if we determine that we're not really
printing a list, but a tree (that shouldn't be too difficult,
statistically), then edebug could flip a printing switch and do this...
differently.
(Hand-wavey details left as an exercise for the reader.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#36566: 27.0.50; debug is sometimes horribly slow, Gemini Lasswell, 2022/05/13
- bug#36566: 27.0.50; debug is sometimes horribly slow, Lars Ingebrigtsen, 2022/05/13
- bug#36566: 27.0.50; debug is sometimes horribly slow, Michael Heerdegen, 2022/05/13
- bug#36566: 27.0.50; debug is sometimes horribly slow,
Lars Ingebrigtsen <=
- bug#36566: 27.0.50; debug is sometimes horribly slow, Stefan Monnier, 2022/05/14
- bug#36566: 27.0.50; debug is sometimes horribly slow, Lars Ingebrigtsen, 2022/05/14
- bug#36566: 27.0.50; debug is sometimes horribly slow, Stefan Monnier, 2022/05/14
- bug#36566: 27.0.50; debug is sometimes horribly slow, Lars Ingebrigtsen, 2022/05/14
- bug#36566: 27.0.50; debug is sometimes horribly slow, Lars Ingebrigtsen, 2022/05/14
- bug#36566: 27.0.50; debug is sometimes horribly slow, Stefan Monnier, 2022/05/14
- bug#36566: 27.0.50; debug is sometimes horribly slow, Lars Ingebrigtsen, 2022/05/15
- bug#36566: 27.0.50; debug is sometimes horribly slow, Lars Ingebrigtsen, 2022/05/15
- bug#36566: 27.0.50; debug is sometimes horribly slow, Stefan Monnier, 2022/05/15
- bug#36566: 27.0.50; debug is sometimes horribly slow, Lars Ingebrigtsen, 2022/05/15