From e56faaaed581626866c76b2bb154f76234ef797b Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 24 Nov 2024 14:55:22 -0800 Subject: [PATCH] Remove hash function --- public/scripts/power-user.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 91ba33844..5b780b700 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -1840,21 +1840,6 @@ async function loadContextSettings() { }); } -/** - * Generates a hash of the Fuse configuration keys - * @param {Array<{name: string, weight: number, getFn?: Function}>} keys - * @returns {number} Hash of the keys configuration - */ -function hashFuseKeys(keys) { - // Convert keys to a stable string representation - const keyString = keys.map(k => { - const getFnString = k.getFn ? k.getFn.toString() : ''; - return `${k.name}:${k.weight}:${getFnString}`; - }).join('|'); - - return getStringHash(keyString); -} - /** * Common function to perform fuzzy search with caching * @param {string} type - Type of search from fuzzySearchCategories