@cloudbitmaps/roaring 0.23.0 → 0.24.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/NOTICE +2 -2
- package/PRIVACY.md +1 -1
- package/README.md +16 -8
- package/dist/bin/export-segments.js +1611 -248
- package/dist/bin/export-segments.js.map +4 -4
- package/dist/index.d.ts +4 -3
- package/dist/index.js +1609 -221
- package/dist/index.js.map +4 -4
- package/dist/roaring-codec.d.ts +22 -92
- package/package.json +2 -4
package/dist/index.d.ts
CHANGED
|
@@ -1091,9 +1091,10 @@ export declare class CloudRoaring {
|
|
|
1091
1091
|
* `input` is ids (any sync or async iterable of integers in `[0, 2^32)`), or a whole bitmap: `{ bitmap }`, anything
|
|
1092
1092
|
* with `serialize('portable')` such as `roaring`'s `RoaringBitmap32`, or `{ serialized }`, portable Roaring bytes.
|
|
1093
1093
|
* A bitmap is checked (size cap, structure, safe deserializer) before the first request, written from its own
|
|
1094
|
-
* containers with no per-id work, and gives the generation chunk for chunk what its ids would.
|
|
1095
|
-
*
|
|
1096
|
-
*
|
|
1094
|
+
* containers with no per-id work, and gives the generation chunk for chunk what its ids would. An
|
|
1095
|
+
* iterable with a `serialize` method (a `RoaringBitmap32`, another copy's bitmap, or a bitmap `deserializePortable`
|
|
1096
|
+
* returned) passed as ids loads as `{ bitmap }` and is not iterated. A `Uint8Array` or `Buffer` passed as ids is
|
|
1097
|
+
* refused with `ValidationError`, since each byte would load as an id, even when it has a `serialize` of its own:
|
|
1097
1098
|
* pass bytes as `{ serialized }`.
|
|
1098
1099
|
*
|
|
1099
1100
|
* Ids are held whole in memory before the object is written: the generation's bitmaps and a buffer of up to about 28
|