diff options
| author | u <@> | 2026-03-11 06:19:08 +0200 |
|---|---|---|
| committer | u <@> | 2026-03-11 08:24:39 +0200 |
| commit | 9bdd9eb5442bbdeefa08ea60fd966c8f9a83c543 (patch) | |
| tree | 31ca975794ad966935ac44fe8a59765e9df9b227 /.cargo/config.toml | |
| parent | bfc2cabc3b0d6af8c7ca0496b7bd815fdbb658f6 (diff) | |
drop regex and handroll parser
the rustflags change, leaner parser, and dropping the regex crate
yields a 4x binary size decrease, i can also see it runs around 2.5x
faster
Diffstat (limited to '.cargo/config.toml')
| -rw-r--r-- | .cargo/config.toml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..0a977cc --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.'cfg(target_family="wasm")'] +rustflags = ["-C", "llvm-args=--mattr=+bulk-memory-opt,+simd128,+relaxed-simd,+tail-call,+extended-const", "-C", "target-feature=+simd128,+relaxed-simd,+tail-call,+extended-const"] |
