Skip to content

Commit f39bceb

Browse files
committed
Doc tweak
Measured perf cost of meminit was 7% worst case on an Intel Core2 system. YMMV.
1 parent 3e40d0c commit f39bceb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/liblmdb/lmdb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,8 @@ int mdb_env_create(MDB_env **env);
567567
* code (that used the heap and subsequently freed the memory) into the
568568
* data file. Note that many other system libraries may allocate
569569
* and free memory from the heap for arbitrary uses. E.g., stdio may
570-
* use the heap for file I/O buffers. This initialization step comes
571-
* at some performance cost so some applications may want to disable
570+
* use the heap for file I/O buffers. This initialization step has a
571+
* modest performance cost so some applications may want to disable
572572
* it using this flag. This option can be a problem for applications
573573
* which handle sensitive data like passwords, and it makes memory
574574
* checkers like Valgrind noisy. This flag is not needed with #MDB_WRITEMAP,

0 commit comments

Comments
 (0)