[libdazzle] fuzzy: lower cost for post-start queries
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] fuzzy: lower cost for post-start queries
- Date: Mon, 5 Jun 2017 08:06:44 +0000 (UTC)
commit e90e59c1bcf39580fd20b79fc904f6d269a10a53
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 5 01:06:34 2017 -0700
fuzzy: lower cost for post-start queries
This didn't work out as well as I wanted, so we can lower the penalty
a bit.
src/fuzzy/dzl-fuzzy-index-cursor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fuzzy/dzl-fuzzy-index-cursor.c b/src/fuzzy/dzl-fuzzy-index-cursor.c
index 26fbe68..7e8b720 100644
--- a/src/fuzzy/dzl-fuzzy-index-cursor.c
+++ b/src/fuzzy/dzl-fuzzy-index-cursor.c
@@ -406,7 +406,7 @@ dzl_fuzzy_index_cursor_worker (GTask *task,
{
const DzlFuzzyIndexItem *item = &lookup.tables[0][i];
- fuzzy_do_match (&lookup, item, 1, MIN (16, item->position * 4));
+ fuzzy_do_match (&lookup, item, 1, MIN (16, item->position * 2));
}
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]