jssm 5.157.7 → 5.157.9

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.
@@ -18,10 +18,10 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
18
18
 
19
19
 
20
20
 
21
- * Generated for version 5.157.7 at 7/2/2026, 8:33:19 AM
21
+ * Generated for version 5.157.9 at 7/2/2026, 9:46:08 AM
22
22
 
23
23
  -->
24
- # jssm 5.157.7
24
+ # jssm 5.157.9
25
25
 
26
26
  [**Try the live editor**](https://stonecypher.github.io/jssm-viz-demo/graph_explorer.html) ·
27
27
  [Documentation](https://stonecypher.github.io/jssm/docs/) ·
@@ -312,7 +312,7 @@ That decision shows up everywhere downstream:
312
312
  or run `npm run benny` against your own machine.
313
313
 
314
314
  - **More thoroughly tested than any other JavaScript state-machine
315
- library.** 7,870 tests at 100.0% line coverage
315
+ library.** 7,871 tests at 100.0% line coverage
316
316
  ([report](https://coveralls.io/github/StoneCypher/jssm)), plus
317
317
  fuzz testing via `fast-check`, with parser test data across ten natural
318
318
  languages and Emoji.
@@ -445,11 +445,11 @@ If your contribution is missing here, please open an issue.
445
445
 
446
446
  <br/>
447
447
 
448
- ***7,870 tests***, run 82,912 times.
448
+ ***7,871 tests***, run 82,913 times.
449
449
 
450
- - 7,112 specs with 100.0% coverage
451
- - 758 fuzz tests with 52.5% coverage
452
- - 9,969 TypeScript lines - 0.8 tests per line, 8.3 generated tests per line
450
+ - 7,113 specs with 100.0% coverage
451
+ - 758 fuzz tests with 52.6% coverage
452
+ - 9,990 TypeScript lines - 0.8 tests per line, 8.3 generated tests per line
453
453
 
454
454
  [![Actions Status](https://github.com/StoneCypher/jssm/workflows/Node%20CI/badge.svg)](https://github.com/StoneCypher/jssm/actions)
455
455
  [![NPM version](https://img.shields.io/npm/v/jssm.svg)](https://www.npmjs.com/package/jssm)
@@ -1024,6 +1024,13 @@ declare class Machine<mDT> {
1024
1024
  *
1025
1025
  * @param start - State to begin the walk from.
1026
1026
  * @param max_steps - Maximum transitions before the walk is step-capped.
1027
+ * @param exit_memo - Per-run-set cache of {@link Machine.probable_exits_for}
1028
+ * results. The graph is immutable after construction, so a state's
1029
+ * probable exits never change; sharing one memo across a generator's
1030
+ * runs collapses runs×steps re-derivations (two array allocations and an
1031
+ * exit rescan per step) to one per distinct state. The memo only reuses
1032
+ * the derived arrays — RNG draw order is untouched, so seeded walks
1033
+ * reproduce exactly.
1027
1034
  * @returns The {@link JssmStochasticRun} for this walk.
1028
1035
  */
1029
1036
  private _stochastic_one_walk;