Add wot calculation to app
This commit is contained in:
@@ -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})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user