[Date Prev][Date Next] [Chronological] [Thread] [Top]

was RE: dissection of search latency

> -----Original Message-----
> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> At 05:19 PM 2001-11-15, Howard Chu wrote:
> >I'm interested. I've been looking at the code but I don't see what is
> >missing yet.

> Most of the indexing generation code is in place...
> it's just fixing up search_candidates to use it.

I see, I will continue to work on this area.
> >I'm also looking at what needs to happen to turn SLAPD_USE_AD
> >on in back-bdb.
> Frankly, I don't recall why it's not enabled...  but there
> is likely a good reason.

It was a little shaky in places, but my last commit to HEAD now uses
the AD-based code and removed the old code. Should be worth a percent
or two of speedup as well }-), since AttributeDescriptions can be indexed/
compared by pointer value; saves a bunch of strcmp()s. Also removed an
unnecessary bvstrdup/bvfree in the indexing code.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc  
  Symas: Premier OpenSource Development and Support