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

Re: commit: ldap/libraries/libldap addentry.c error.c ldap-int.h result.c

The following patch is to remove major cycle eaters in the synchronous
search processing in the client library. It can speed up synchronous
searches with large result sets by a significant amount.
For example, a synchronous search for 16K entries which took more than 30
seconds originally only took slightly more than one second with this patch.
Before inclusion of this patch in the release engineering / release, I think
it desirable to go through a round of feedback/discussions in the community.
For example, it seems that the current result processing assumes a
conformant communicating party at the other end. The current patch was
prepared according to the behavior of the original result processing code
and hence may need to be revised further (see FIXME in the patch).
- Jong-Hyuk

----- Original Message ----- 
From: <jongchoi@OpenLDAP.org>
To: "OpenLDAP Commit" <openldap-commit2devel@OpenLDAP.org>
Sent: Sunday, October 17, 2004 9:58 PM
Subject: commit: ldap/libraries/libldap addentry.c error.c ldap-int.h

> Update of /repo/OpenLDAP/pkg/ldap/libraries/libldap
> Modified Files:
> addentry.c  1.13 -> 1.14
> error.c  1.63 -> 1.64
> ldap-int.h  1.157 -> 1.158
> result.c  1.97 -> 1.98
> Log Message:
> Patch for fast synchronous search result processing
> CVS Web URLs:
>   http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/
>     http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/addentry.c
>     http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/error.c
>     http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/ldap-int.h
>     http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/result.c
> Changes are generally available on cvs.openldap.org (and CVSweb)
> within 30 minutes of being committed.