esoteric performance golfing

This commit is contained in:
velzie 2024-10-21 20:29:33 -04:00
parent 040ef7b163
commit 0f603a6d03
No known key found for this signature in database
GPG key ID: AA51AEFB0A1F3820
6 changed files with 33 additions and 37 deletions

View file

@ -118,6 +118,7 @@ fn dorewrite(source_text: &str) -> Result<String> {
prefix: "/scrammedjet/".to_string(),
encode: Box::new(encode_string),
wrapfn: "$wrap".to_string(),
wrapthisfn: "$gwrap".to_string(),
importfn: "$import".to_string(),
rewritefn: "$rewrite".to_string(),
metafn: "$meta".to_string(),
@ -126,7 +127,7 @@ fn dorewrite(source_text: &str) -> Result<String> {
capture_errors: true,
do_sourcemaps: true,
scramitize: false,
strict_rewrites: false,
strict_rewrites: true,
},
)?
.as_slice(),