Add wot calculation to app

This commit is contained in:
Jon Staab
2024-09-24 16:30:18 -07:00
parent f246e9914a
commit fd4f782798
7 changed files with 116 additions and 3 deletions
+1 -1
View File
@@ -65,5 +65,5 @@ export function cached<T, V, Args extends any[]>({
}
export function simpleCache<V, Args extends any[]>(getValue: (args: Args) => V) {
return cached({maxSize: 10**10, getKey: xs => xs.join(':'), getValue})
return cached({maxSize: 10**5, getKey: xs => xs.join(':'), getValue})
}