[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: BVarray
For anyone curious, this round of changes had a very minor effect.
Overall malloc use was decreased only 3%. Total runtime for test008
was also within about 3%. The most obvious change is in a pure add
test, where runtime improved about 18%. This was all pretty much as
I expected; the big impact of the code change was on handling lists
of attribute values. Since search entries are already cached, the
impact isn't really noticable there. But since adds/modifies have
to process all the attributes on every request, they benefit more
from this change.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-devel@OpenLDAP.org
> [mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of Howard Chu
> I have a large number of changes going in in the next hour or so,
> replacing all use of "struct berval **" with "BVarray". I am currently
> testing against back-bdb, back-ldap, and back-ldbm and will commit
> when the tests run cleanly...
>
> -- Howard Chu
> Chief Architect, Symas Corp. Director, Highland Sun
> http://www.symas.com http://highlandsun.com/hyc
> Symas: Premier OpenSource Development and Support
>
- References:
- BVarray
- From: "Howard Chu" <hyc@highlandsun.com>