Buckets:
| import {InternSet} from "internmap"; | |
| export default function intersection(values, ...others) { | |
| values = new InternSet(values); | |
| others = others.map(set); | |
| out: for (const value of values) { | |
| for (const other of others) { | |
| if (!other.has(value)) { | |
| values.delete(value); | |
| continue out; | |
| } | |
| } | |
| } | |
| return values; | |
| } | |
| function set(values) { | |
| return values instanceof InternSet ? values : new InternSet(values); | |
| } | |
Xet Storage Details
- Size:
- 446 Bytes
- Xet hash:
- d02459156de6c0ec9777e9380dd93a48ab4f122e50a1e8d0cdc26b2ff0fd18b1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.