俺的 rust 比 js 慢…

什么都不说了,这波真的是输麻了,编译一个一千行的 wxml 文件,rust 不管怎么整都要比 js 慢,napi-rs 甚至要慢三倍,哭了 可能的原因#[wasm_bindgen] pub fn compile(str: &str, assetid:i32) -> String …