Commit 75b3ca4a484e15a2af0e412dc3d0bc2d9fcfc24c

Authored by Georg Hopp
1 parent d0f4b77d

hopefully improve performance of gdbm...currently I think about replacing gdbm by tokyo cabinet

Showing 1 changed file with 2 additions and 2 deletions
... ... @@ -41,8 +41,8 @@ storageCtor(void * _this, va_list * params)
41 41
42 42 this->gdbm = gdbm_open(
43 43 this->db_name,
44   - 0,
45   - GDBM_WRCREAT,
  44 + 2048,
  45 + GDBM_WRCREAT|GDBM_NOLOCK,
46 46 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH,
47 47 NULL);
48 48
... ...
Please register or login to post a comment