On Thu, Jun 16, 2011 at 5:00 PM, Emmanuel Lecharny <[email protected]> wrote: > On 6/16/11 1:18 PM, Kiran Ayyagari wrote: >> >> On Thu, Jun 16, 2011 at 3:29 PM, Emmanuel Lecharny<[email protected]> >> wrote: >>> >>> Hi guys, >>> >>> just wondering if we need to keep the intermediate AndCursor class ? All >>> in >>> all, when building the cursors, if we have a conjonction, we will pick >>> the >>> smallest cursor to store it as wrapped into the AndCursor, so I wonder if >>> it's not a good idea to simply remove this cursor from the equation ? >>> >> I don't think so, we do need evaluators also > > What for ? Can't we use the underlying cursor's evaluator ? > yeap, agree, this indeed speeds up evaluation
OTOH, I prefer to keep a hint about conjunction in the returned cursor or we can also change AndCursor to not use evaluators but just as a dumb wrapper (i.e new AndCursor(IndexCursor) ) > -- > > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com > > -- Kiran Ayyagari
