[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48738: [PATCH] Optimized `describe-variable' predicate
From: |
Daniel Mendler |
Subject: |
bug#48738: [PATCH] Optimized `describe-variable' predicate |
Date: |
Mon, 31 May 2021 07:30:23 +0200 |
On 5/31/21 7:23 AM, Lars Ingebrigtsen wrote:
> Daniel Mendler <mail@daniel-mendler.de> writes:
>
>> Yes, I am aware of those. As you say, they don't do what we want here.
>> The question is which name convention to use here. I think having a
>> `buffer-local-boundp` makes sense.
>
> Added now.
Thanks. While we are on it optimizing, does it make sense to make this a
c function? You can probably tell more about the overhead of condition-case?
However I think `buffer-local-boundp` is really only performance
critical in this single predicate in `describe-variable`. I cannot think
of another use case iterating over thousands of symbols and checking for
bound variables. So probably we are good now.
- bug#48738: [PATCH] Optimized `describe-variable' predicate, Daniel Mendler, 2021/05/30
- bug#48738: [PATCH] Optimized `describe-variable' predicate, Lars Ingebrigtsen, 2021/05/31
- bug#48738: [PATCH] Optimized `describe-variable' predicate, Daniel Mendler, 2021/05/31
- bug#48738: [PATCH] Optimized `describe-variable' predicate, Lars Ingebrigtsen, 2021/05/31
- bug#48738: [PATCH] Optimized `describe-variable' predicate, Lars Ingebrigtsen, 2021/05/31
- bug#48738: [PATCH] Optimized `describe-variable' predicate, Daniel Mendler, 2021/05/31
- bug#48738: [PATCH] Optimized `describe-variable' predicate, Lars Ingebrigtsen, 2021/05/31
- bug#48738: [PATCH] Optimized `describe-variable' predicate,
Daniel Mendler <=
- bug#48738: [PATCH] Optimized `describe-variable' predicate, Lars Ingebrigtsen, 2021/05/31