Navigation Menu

Skip to content

Commit

Permalink
ii: use 32 expire threshold by default
Browse files Browse the repository at this point in the history
It's a good trade-off between performance and memory usage.
  • Loading branch information
kou committed Feb 6, 2018
1 parent 5e233f6 commit 130b584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ii.c
Expand Up @@ -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)
Expand Down

0 comments on commit 130b584

Please sign in to comment.