[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caching where-is-internal
From: |
Daniel Mendler |
Subject: |
Re: Caching where-is-internal |
Date: |
Mon, 24 May 2021 22:07:02 +0200 |
On 5/24/21 9:53 PM, Stefan Monnier wrote:
>> The funny thing here is that the initial (costly?) computation of the
>> `marginalia--annotate-binding-hash` does not lead to a noticeable slowdown.
>
> The first call to `where-is-internal` will traverse all the keymaps and
> build the hash-table (which doesn't cost much more than just a plain
> uncached `where-is-internal`), and the subsequent ones will hit the
> hash-table instead.
This makes sense. Thanks. Then we have to figure out why this spurious
cache flush happens. At the time when I wrote this code I should have
reported the issue right away or investigated a bit more deeply. It is
good to revisit this now in the light of the current discussion.
Daniel
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, (continued)
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Dmitry Gutov, 2021/05/23
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/05/23
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Juri Linkov, 2021/05/23
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Dmitry Gutov, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Juri Linkov, 2021/05/23
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/05/23
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Daniel Mendler, 2021/05/24
- Caching where-is-internal (was: (icomplete-vertical-mode): Add support for affixations and, annotations), Stefan Monnier, 2021/05/24
- Re: Caching where-is-internal (was: (icomplete-vertical-mode): Add support for affixations and, annotations), Daniel Mendler, 2021/05/24
- Re: Caching where-is-internal, Stefan Monnier, 2021/05/24
- Re: Caching where-is-internal,
Daniel Mendler <=
- Re: Caching where-is-internal, Stefan Monnier, 2021/05/24
- Re: Caching where-is-internal, Daniel Mendler, 2021/05/24
- Re: Caching where-is-internal, Stefan Monnier, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Juri Linkov, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, João Távora, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, João Távora, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Juri Linkov, 2021/05/25
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/05/25
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, João Távora, 2021/05/25