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

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

bug#65491: [PATCH] Improve performance allocating vectors


From: Paul Eggert
Subject: bug#65491: [PATCH] Improve performance allocating vectors
Date: Sun, 17 Sep 2023 09:37:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 2023-09-17 09:15, Eli Zaretskii wrote:
Even though the code is so completely obfuscated and hard to
understand?

If it's confusing, let's add a comment. That would be better than unnecessarily duplicating the actual code.


We also have USE_LSB_TAG and LISP_WORDS_ARE_POINTERS

Yes, and we should minimize dependencies on those macros as well. The same principle applies to all these conditional flags - generally speaking the fewer uses of these macros, and the fewer distinct copies of the code, the better.

We could even dump those two macros entirely. But this would be a bigger project, one I lack time for (though perhaps Mattias has time...).


I frequently find it easier to fire up GDB
and ask it to show me the values

Oh, I do that all the time too, with both Emacs and other programs. It's OK. Why refuse help from GDB?





reply via email to

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