[Groonga-commit] groonga/groonga at 130b584 [master] ii: use 32 expire threshold by default

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Feb 6 09:59:17 JST 2018


Kouhei Sutou	2018-02-06 09:59:17 +0900 (Tue, 06 Feb 2018)

  New Revision: 130b584632d69b38a3694c6cc1533d160e4cd7cf
  https://github.com/groonga/groonga/commit/130b584632d69b38a3694c6cc1533d160e4cd7cf

  Message:
    ii: use 32 expire threshold by default
    
    It's a good trade-off between performance and memory usage.

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+1 -1)
===================================================================
--- lib/ii.c    2018-02-05 15:02:05 +0900 (ffa630483)
+++ lib/ii.c    2018-02-06 09:59:17 +0900 (4fe17edc0)
@@ -102,7 +102,7 @@ static grn_bool grn_ii_overlap_token_skip_enable = GRN_FALSE;
 static uint32_t grn_ii_builder_block_threshold_force = 0;
 static uint32_t grn_ii_max_n_segments_small = MAX_PSEG_SMALL;
 static uint32_t grn_ii_max_n_chunks_small = GRN_II_MAX_CHUNK_SMALL;
-static int64_t grn_ii_reduce_expire_threshold = -1;
+static int64_t grn_ii_reduce_expire_threshold = 32;
 
 void
 grn_ii_init_from_env(void)
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180206/4f6d9258/attachment-0001.htm 



More information about the Groonga-commit mailing list
Back to archive index