v1.0.80 — Search optimization
Performance
- Skip fuzzy correction on stopwords (#272) —
searchWithFallbackno longer runs levenshtein + vocab DB queries on stopwords that get stripped bysanitizeQueryanyway. Thanks @sebastianbreguel! - Cache cleanup prepared statements (#272) —
cleanupStaleSources()was the only method creating 3 new prepared statements per call. Now cached in constructor, consistent with every other method.
Upgrade:
npm install -g context-mode@1.0.80Full Changelog: v1.0.79...v1.0.80