ldb-tdb: Store DNs in index entries already casefolded
authorMatthieu Patou <mat@matws.net>
Sun, 23 Dec 2012 00:00:36 +0000 (16:00 -0800)
committerMatthieu Patou <mat@matws.net>
Wed, 27 May 2015 05:01:38 +0000 (22:01 -0700)
commit99e64ae36bc670ca8804e605701c03d9a24d1b19
tree7a6457edbdfe154373ff05e5aa57acf4a87c6e4a
parent9f93e2aaaff8900147ebc489423928cb58f5c398
ldb-tdb: Store DNs in index entries already casefolded

Performance analysis have shown that casefolding index entries when
doing record lookup takes an important part of a ldb lookup, by storing
DNs already casefolded then can be used as is (almost) and so reduce
time and cpu spent in searches.
lib/ldb/ldb_tdb/ldb_index.c
lib/ldb/ldb_tdb/ldb_tdb.h