Re: [PATCH 00/22] cache cursors: an introduction
Daniel Barkalow <barkalow@iabervon.org> writes:
Show 6 quoted lines
>> * It may make sense to give another param to describe which
>> cache the caller is talking about so that we can later have
>> more than one cache at the same time:
>>
> Wouldn't it be better to only take it in cc_init(), and have the cursor
> remember what it's iterating through?
> I'm actually particularly interested in having a pair of caches for
> read-tree, because it would actually like to keep the old index separate
> from the index it's building.