On Thu, Jun 2, 2011 at 8:17 PM, Matt Corgan <mcor...@hotpads.com> wrote: > What about turning KeyValue into an interface with only the essential > getXX() methods? Whatever is using the KeyValue shouldn't *have* to know > what sort of structure it's backed by, but could figure out the > implementation in cases where it wants to optimize performance.
A few of us have looked at doing this and baulked. Maybe if we'd had a stiff drink first.... ... > new CssTreeBlockIndexKeyValue(CssTreeBlockIndex blockIndex, int kvPosition) > Sounds great. St.Ack