(key)
| 940 | * @returns {string} stringified key |
| 941 | */ |
| 942 | const keyToString = (key) => { |
| 943 | if (typeof key === "bigint") return key.toString(16); |
| 944 | return /** @type {bigint} */ (chunkIndexMap.get(key)).toString(16); |
| 945 | }; |
| 946 | |
| 947 | const getChunkSetsInGraph = memoize(() => { |
| 948 | /** @type {Map<bigint, ChunkSet>} */ |