ktongue's picture
download
raw
404 Bytes
import {InternSet} from "internmap";
export default function disjoint(values, other) {
const iterator = other[Symbol.iterator](), set = new InternSet();
for (const v of values) {
if (set.has(v)) return false;
let value, done;
while (({value, done} = iterator.next())) {
if (done) break;
if (Object.is(v, value)) return false;
set.add(value);
}
}
return true;
}

Xet Storage Details

Size:
404 Bytes
·
Xet hash:
6620d42a74371f12c1759657d5ab9d785bf4015c426c1c8be7a3fd2cb427c58d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.