[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/flx 61dcc4f563 089/182: Reset caches on file reload.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/flx 61dcc4f563 089/182: Reset caches on file reload. |
Date: |
Tue, 13 Dec 2022 03:59:33 -0500 (EST) |
branch: elpa/flx
commit 61dcc4f563b9a335716c23dcefb247b54ea477c3
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>
Reset caches on file reload.
- #52
---
flx.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/flx.el b/flx.el
index 81c3e88855..ba96806b97 100644
--- a/flx.el
+++ b/flx.el
@@ -339,12 +339,17 @@ SCORE of nil means to clear the properties."
-(defvar flx-file-cache (flx-make-filename-cache)
+(defvar flx-file-cache nil
"Cached heatmap info about strings.")
-(defvar flx-strings-cache (flx-make-string-cache)
+;;; reset value on every file load.
+(setq flx-file-cache (flx-make-filename-cache))
+
+(defvar flx-strings-cache nil
"Cached heatmap info about filenames.")
+;;; reset value on every file load.
+(setq flx-strings-cache (flx-make-string-cache))
(provide 'flx)
- [nongnu] elpa/flx 6189f05c7e 004/182: add flx, ido implementation and helm experiment, (continued)
- [nongnu] elpa/flx 6189f05c7e 004/182: add flx, ido implementation and helm experiment, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 4c67675437 032/182: add GC tuning information to README, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 114cf369cb 020/182: add ido installation instructions, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 7452ab1c79 021/182: README update, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx f566207c82 015/182: travis config update, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 01eef11b96 033/182: small efficiency fix, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 44951ac311 042/182: simplify caching, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx cc3258bb10 038/182: cache key should be based on whole input, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 771f61f3fd 016/182: update test list, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx a792c2c5f1 053/182: change advice to before, fix comments, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 61dcc4f563 089/182: Reset caches on file reload.,
ELPA Syncer <=
- [nongnu] elpa/flx 24f5d2cfc5 099/182: Fix typo threshhold -> threshold, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx c45daa261c 124/182: refactor: pull out flx-get-matches-worker function, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx b9399afd48 136/182: Simplify math operations in score calculation, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 8419b1b28f 107/182: Bump version to v0.4 ., ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 46dd7d7edb 144/182: Improve readability, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 807d694555 154/182: remove reference to `flx-ido-big-demo`, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx e05105872f 169/182: Begin sentences with capital letters and end them with a periods, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx dd47185f5b 173/182: flx-inc-vec: Improve doc-string, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 2a816e25df 151/182: Add file misc/.nosearch, ELPA Syncer, 2022/12/13
- [nongnu] elpa/flx 4cf3f5ad45 059/182: Merge pull request #25 from bbatsov/improve-headers, ELPA Syncer, 2022/12/13