Re: [elephant-devel] map-index

2007-11-30 Thread Ian Eslick
Yeah, map-index is complex but that's due to problems with cursors on secondary btrees in Elephant. I'd like to rewrite it but didn't find a good strategy before. See my notes below. I have one idea I'll look into for the standard case of walking a simple range. map-index is generic, yo

[elephant-devel] map-index

2007-11-29 Thread Alex Mizrahi
hello i'm now trying to improve implementation of cursor in postmodern backend. it would be nice to optimize it for usage patterns of map-index, but map-index implementation frightens me: is there a reason for such complexity? for example, just to enumarate index with two values it does calls l