|
From: | Dmitry Gutov |
Subject: | Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations |
Date: | Tue, 25 May 2021 02:04:55 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 24.05.2021 13:26, Daniel Mendler wrote:
This is more of a technical detail, but I also want to stress the point made by Juri in the other mail, that the backend may have to setup some "context" to compute the annotation data lazily. If this setup can only be done once per redisplay of the currently visible candidates, that is beneficial.
IME when annotations are computed only for a limited subset of completions (as is the case now), it doesn't matter too much if they have to be computed twice, 'cause the time it takes is still negligible.
But of course a frontend can set up a context itself (some hash-table inside its internals) which tracks which completions have which annotations, so it doesn't have to ask twice.
[Prev in Thread] | Current Thread | [Next in Thread] |