Make cluster/fragment lookup operations almost stateless, fix high Matroska memory, allow more maxCacheSizes

This commit is contained in:
Vanilagy
2025-09-29 20:36:37 +02:00
parent 0185383794
commit 198928088b
6 changed files with 465 additions and 666 deletions
+4
View File
@@ -786,3 +786,7 @@ export const polyfillSymbolDispose = () => {
// @ts-expect-error Readonly
Symbol.dispose ??= Symbol('Symbol.dispose');
};
export const isNumber = (x: unknown) => {
return typeof x === 'number' && !Number.isNaN(x);
};