3 May
2011
3 May
'11
3:02 p.m.
On Tue, May 03, 2011 at 02:25:12PM +0200, Takashi Iwai wrote:
So, this is the preliminary work for implementing the bulk I/O? If so, it's worth to consider once whether implementing in the rb-tree cache code is the right choice. Can it be implemented in the cache management core, since you'll need an API anyway for getting the bulk register array via cache manager?
The whole point of the caches is to be responsible for abstracting out the in-memory layout of the data. The core already provides information that the caches can use about the register format and what registers are present.
The other cache structures we have at the minute are fine since they store everything as flat arrays anyway.