@elaraai/east-c-cli 1.0.84 → 1.0.85

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.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -53,10 +53,13 @@ memory.
53
53
  A collection input opens lazily, whatever it weighs: an indexed beast2 file is
54
54
  mapped, and a read decodes only the segments it reaches — its size, a keyed
55
55
  read and the `$.for` loop decode a segment at a time, and an operation the
56
- pager cannot serve decodes the input whole, once, when it first needs it.
56
+ pager cannot serve decodes the input whole, once, when it first needs it. A
57
+ loop holds only the segment it walks. Keyed reads keep the segments they
58
+ decode, up to 256 MiB of decoded weight per input (`EAST_PAGED_CACHE_BYTES`;
59
+ `1` keeps one segment), and reads in key order keep about two.
57
60
  `--decode whole` decodes every input before the program runs instead, which
58
- suits a program that reads most of an input at random: lazily, a read beyond
59
- the segments the pager keeps (64 MiB of them, `EAST_PAGED_CACHE_BYTES`)
61
+ suits a program that reads at random across more than that, or loops over an
62
+ input more than once: lazily, a read beyond the segments the pager keeps
60
63
  decodes its segment again. `exec` reads the same choice from its unit's
61
64
  `decode`. A value that is not a collection, and a collection whose elements
62
65
  hold a Ref or a function, is decoded whole either way.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elaraai/east-c-cli",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "Provides the `east-c` bin. A tiny launcher resolves the native binary for your platform from the matching per-platform package (@elaraai/east-c-cli-<target>), pulled in via optional dependencies.",
5
5
  "bin": {
6
6
  "east-c": "bin/east-c.mjs"
@@ -32,14 +32,14 @@
32
32
  "node": ">=18.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@elaraai/east": "1.0.84"
35
+ "@elaraai/east": "1.0.85"
36
36
  },
37
37
  "optionalDependencies": {
38
- "@elaraai/east-c-cli-linux-x64": "1.0.84",
39
- "@elaraai/east-c-cli-linux-arm64": "1.0.84",
40
- "@elaraai/east-c-cli-darwin-arm64": "1.0.84",
41
- "@elaraai/east-c-cli-darwin-x64": "1.0.84",
42
- "@elaraai/east-c-cli-win32-x64": "1.0.84"
38
+ "@elaraai/east-c-cli-linux-x64": "1.0.85",
39
+ "@elaraai/east-c-cli-linux-arm64": "1.0.85",
40
+ "@elaraai/east-c-cli-darwin-arm64": "1.0.85",
41
+ "@elaraai/east-c-cli-darwin-x64": "1.0.85",
42
+ "@elaraai/east-c-cli-win32-x64": "1.0.85"
43
43
  },
44
44
  "scripts": {}
45
45
  }