From 843e0ff5601479239791f452bec9865df779839b Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 27 Aug 2026 16:06:57 +0200 Subject: chore: simplify operands, extract more exec_ methods Signed-off-by: Henry --- crates/parser/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/parser/src/lib.rs') 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)] -- cgit v1.3.1