Perf: enforce more cache

This commit is contained in:
SukkaW
2023-12-31 03:01:43 +08:00
parent 1f23212042
commit c85f9fac0c
3 changed files with 17 additions and 7 deletions

View File

@@ -143,7 +143,7 @@ export const TTL = {
TEN_DAYS: () => randomInt(9, 11) * 24 * 60 * 60 * 1000
};
const separator = String.fromCharCode(0);
const separator = '\u0000';
// const textEncoder = new TextEncoder();
// const textDecoder = new TextDecoder();
// export const serializeString = (str: string) => textEncoder.encode(str);