remove log for check caching
This commit is contained in:
@@ -58,7 +58,6 @@ export async function encode(data:string):Promise<(number[]|Uint32Array|Int32Arr
|
|||||||
pluginTokenizer
|
pluginTokenizer
|
||||||
);
|
);
|
||||||
const cachedResult = encodeCache.get(cacheKey);
|
const cachedResult = encodeCache.get(cacheKey);
|
||||||
console.log(encodeCache.size)
|
|
||||||
if (cachedResult !== undefined) {
|
if (cachedResult !== undefined) {
|
||||||
return cachedResult;
|
return cachedResult;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user