[Top][All Lists]

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

Re: Universal functions to manage multiple window caches.

From: Alex Gramiak
Subject: Re: Universal functions to manage multiple window caches.
Date: Sat, 20 Apr 2019 11:17:01 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Keith David Bershatsky <address@hidden> writes:

> Thank you, Alex, for helping me to better understand how best to organize the 
> cache structures.
> Attached is another attempt by me at implementing your suggestions (as I
> understand them). [The need for a temporary cache has been eliminated in the
> most recent working draft of multiple fake cursors, so there are only three
> flavors of caches now: mc, ch and fc.]
> Does the attached patch accurately reflect your suggested approach?

Looks about what I expected, yeah (you could also have the enum be an
element of each cache type instead of it being global, but it's up to
preference). Though is it your intention to be using w->mc_elts in the
CH_CACHE case instead of w->ch_elts?

reply via email to

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