From f39bceb800dd1b1b4b05cfb45a3ddde94a273fff Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 12 Nov 2013 08:10:33 -0800 Subject: [PATCH] Doc tweak Measured perf cost of meminit was 7% worst case on an Intel Core2 system. YMMV. --- libraries/liblmdb/lmdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 8d4d765..fb512bf 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -567,8 +567,8 @@ int mdb_env_create(MDB_env **env); * code (that used the heap and subsequently freed the memory) into the * data file. Note that many other system libraries may allocate * and free memory from the heap for arbitrary uses. E.g., stdio may - * use the heap for file I/O buffers. This initialization step comes - * at some performance cost so some applications may want to disable + * use the heap for file I/O buffers. This initialization step has a + * modest performance cost so some applications may want to disable * it using this flag. This option can be a problem for applications * which handle sensitive data like passwords, and it makes memory * checkers like Valgrind noisy. This flag is not needed with #MDB_WRITEMAP,