@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 CHANGED
@@ -125,8 +125,8 @@ after it returns, and re-run any erasure a rollback interrupted.
125
125
 
126
126
  Erasure and crypto-shred are **immediate in storage and immediate in the store whose verb performed them**, for
127
127
  every read that starts after the verb returns. A read already in progress in that store can still yield an erased id
128
- from a chunk it had requested before the verb ran: up to 8 chunks for `iterate` and `count`, and up to `concurrency`
129
- keys for a combine. They are not immediate in any *other* store, in the same process or another, and this library ships nothing that could
128
+ from a chunk it had requested before the verb ran: up to 32 chunks for `iterate` and `count`, and up to `concurrency`
129
+ keys (32 by default) for a combine. They are not immediate in any *other* store, in the same process or another, and this library ships nothing that could
130
130
  make them so — there is no daemon, no bus, and no connection between two stores that happen to point at the same
131
131
  bucket.
132
132
 
package/README.md CHANGED
@@ -69,10 +69,10 @@ name.
69
69
 
70
70
  ## What it costs
71
71
 
72
- Measured against real S3 in `us-east-1`, with the pointer in the same bucket as the data: the median cold `intersect`
73
- of two 500,000-id segments sharing 100 of their 1,999 chunks made 206 GETs, **$82.40 per million**, requesting only
74
- the shared chunks. Inside the region it is expected at 204 GETs, $81.60 per million. Writing and publishing a segment
75
- is **$11.20 per million**, pointer included, from its measured requests at list prices. A cold `count()` is one pointer read: it reads no payload and no object.
72
+ Measured against real S3 in `us-east-1`, from inside the region, with the pointer in the same bucket as the data: the median cold `intersect`
73
+ of two 500,000-id segments sharing 100 of their 1,999 chunks made 204 GETs, **$81.60 per million**, requesting only
74
+ the shared chunks, and took 492.69 ms from inside the region, by an engine whose combine window held 8 chunk keys (this release opens it 8 wide and widens it to 32, so fewer rounds are expected; not yet measured). A segment's first `store.load()`
75
+ is **$11.60 per million**, pointer included, from its measured requests at list prices. A cold `count()` is one pointer read: it reads no payload and no object.
76
76
 
77
77
  The trade is stated plainly. A membership check that misses the cache costs a ranged GET against object storage,
78
78
  where an in-process store costs a memory read. If you need sub-millisecond answers on a working set that fits a
@@ -1981,7 +1981,7 @@ var Segment = class _Segment {
1981
1981
  * Chunk-skipping intersection: stream the ids in **this** segment AND every segment in `others`, ascending.
1982
1982
  * Fetches only the Storage chunks present in *all* operands (a key absent from any operand contributes nothing
1983
1983
  * and is never downloaded), streaming under a bounded in-flight window — so the Storage footprint stays small
1984
- * (Lambda-friendly) regardless of segment size. Pass `concurrency` to tune that window (a positive integer).
1984
+ * (Lambda-friendly) regardless of segment size. Pass `concurrency` to tune that window (a positive integer, 32 by default).
1985
1985
  * AND is commutative, so `a.intersect([b])` and `b.intersect([a])` yield the same ids. Pass `budget` to
1986
1986
  * override the store's per-op denial-of-wallet budget for this call (or `false` to lift it).
1987
1987
  */