bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11657: 24.1.50; Byte compiler is a lot slower now, when run interpre


From: Stefan Monnier
Subject: bug#11657: 24.1.50; Byte compiler is a lot slower now, when run interpreted
Date: Sun, 10 Jun 2012 21:10:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> Another would be to add some instrumentation code to the `pcase' macro,
> to output a message everytime the cache misses.  E.g. use the patch below.

I tried that and found that the `pcase-let' macro was not memoized (it
goes through `pcase' but pcase's memoization fails in that case).
I added explicit memoization to pcase-let, which should
help significantly.

Please try it and tell me if it was the only source of slowdown.

BTW, regarding those problems, I'm experimenting with a change that
calls macroexpand-all directly from readevalloop, so as to avoid such
repeated macro-expansion.


        Stefan





reply via email to

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