diff options
| author | Henry <mail@henrygressmann.de> | 2026-08-27 16:06:57 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-08-27 16:06:57 +0200 |
| commit | 843e0ff5601479239791f452bec9865df779839b (patch) | |
| tree | 622e042f6f6cacec2a72c70f22816e8296997e41 /crates/parser/src/lib.rs | |
| parent | a8f42e481e9cc56834c39f073236c25cb533efc6 (diff) | |
chore: simplify operands, extract more exec_ methods
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src/lib.rs')
| -rw-r--r-- | crates/parser/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs index 3369f7b..4954056 100644 --- a/crates/parser/src/lib.rs +++ b/crates/parser/src/lib.rs @@ -61,11 +61,11 @@ pub struct ParserOptions { /// Disable this only for trusted input. Parsing without validation may produce /// a module that violates runtime assumptions. pub validation: bool, + /// Whether to run the peephole rewrite optimizer. pub optimize_rewrite: bool, + /// Whether to deduplicate immutable function operands while parsing. - /// - /// This uses more parse CPU to reduce precompiled module and archive size. pub deduplicate_operands: bool, #[cfg(parallel_parser)] |
