@cloudbitmaps/roaring 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRIVACY.md +2 -2
- package/README.md +4 -4
- package/dist/bin/export-segments.js +1 -1
- package/dist/bin/export-segments.js.map +2 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/testing/fuzz-codec.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -958,7 +958,13 @@ export declare class CloudRoaring {
|
|
|
958
958
|
* in `(after, through]` and fetches only the chunks the range overlaps, as {@link Segment.iterate} does.
|
|
959
959
|
*/
|
|
960
960
|
export interface BaseCombineOptions extends IdRange {
|
|
961
|
-
/**
|
|
961
|
+
/**
|
|
962
|
+
* Max chunk keys resolved concurrently — bounds the Storage footprint (about `concurrency × operands` chunks in
|
|
963
|
+
* flight). A positive integer; default 32. The window opens 8 keys wide (or `concurrency`, if lower) and widens
|
|
964
|
+
* as keys are taken, so a read that stops early fetches no more than a few keys ahead; one that runs to the end
|
|
965
|
+
* spends nearly all of its round trips at the full width. A read that stops early has requested up to
|
|
966
|
+
* `concurrency` keys per operand past the last one it used.
|
|
967
|
+
*/
|
|
962
968
|
readonly concurrency?: number;
|
|
963
969
|
/** Override the store's per-op denial-of-wallet budget for this call (`false` lifts it). */
|
|
964
970
|
readonly budget?: BudgetOption;
|
|
@@ -1283,7 +1289,7 @@ export declare class Segment {
|
|
|
1283
1289
|
* Chunk-skipping intersection: stream the ids in **this** segment AND every segment in `others`, ascending.
|
|
1284
1290
|
* Fetches only the Storage chunks present in *all* operands (a key absent from any operand contributes nothing
|
|
1285
1291
|
* and is never downloaded), streaming under a bounded in-flight window — so the Storage footprint stays small
|
|
1286
|
-
* (Lambda-friendly) regardless of segment size. Pass `concurrency` to tune that window (a positive integer).
|
|
1292
|
+
* (Lambda-friendly) regardless of segment size. Pass `concurrency` to tune that window (a positive integer, 32 by default).
|
|
1287
1293
|
* AND is commutative, so `a.intersect([b])` and `b.intersect([a])` yield the same ids. Pass `budget` to
|
|
1288
1294
|
* override the store's per-op denial-of-wallet budget for this call (or `false` to lift it).
|
|
1289
1295
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1971,7 +1971,7 @@ var Segment = class _Segment {
|
|
|
1971
1971
|
* Chunk-skipping intersection: stream the ids in **this** segment AND every segment in `others`, ascending.
|
|
1972
1972
|
* Fetches only the Storage chunks present in *all* operands (a key absent from any operand contributes nothing
|
|
1973
1973
|
* and is never downloaded), streaming under a bounded in-flight window — so the Storage footprint stays small
|
|
1974
|
-
* (Lambda-friendly) regardless of segment size. Pass `concurrency` to tune that window (a positive integer).
|
|
1974
|
+
* (Lambda-friendly) regardless of segment size. Pass `concurrency` to tune that window (a positive integer, 32 by default).
|
|
1975
1975
|
* AND is commutative, so `a.intersect([b])` and `b.intersect([a])` yield the same ids. Pass `budget` to
|
|
1976
1976
|
* override the store's per-op denial-of-wallet budget for this call (or `false` to lift it).
|
|
1977
1977
|
*/
|