git.delta.rocks / unique-network / refs/commits / d56113dcf9f7

difftreelog

fix remove unused fn in perf test

Daniel Shiposha2023-10-16parent: #6f9bef9.patch.diff
in: master

1 file changed

modifiedtests/src/performance.seq.test.tsdiffbeforeafterboth
105 return tokensCount;105 return tokensCount;
106};106};
107
108function sizeOfProperty(prop: IProperty) {
109 return sizeOfEncodedStr(prop.key) + sizeOfEncodedStr(prop.value!);
110}
111107
112function sizeOfInt(i: number) {108function sizeOfInt(i: number) {
113 if(i < 0 || i > 0xffffffff) throw new Error('out of range');109 if(i < 0 || i > 0xffffffff) throw new Error('out of range');