]> git.sur5r.net Git - openldap/commit
Use DB_HASH instead of DB_BTREE for index databases. Since index keys are
authorHoward Chu <hyc@openldap.org>
Sat, 15 Dec 2001 23:21:37 +0000 (23:21 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 15 Dec 2001 23:21:37 +0000 (23:21 +0000)
commitbf61a1ca9d10afd4ae0fb9779b45ec81a9f839cc
treea105e259a4b2aec3d705056ddf81192d72bad2ae
parent4ed4b3f0c00a2d80d72ca1f7d8459b8b28485297
Use DB_HASH instead of DB_BTREE for index databases. Since index keys are
mainly 4-byte hashes already, there is no locality-of-reference to exploit
as a Btree. About a 7% performance gain.
servers/slapd/back-bdb/dbcache.c