oxc加载文件速度 #7416
oxc加载文件速度
#7416
Replies: 1 comment
-
The only trick I can provide is to use simdutf8 to validate files. Or skip it if you need extreme speed. oxc/crates/oxc_linter/src/utils/mod.rs Lines 44 to 56 in 6f0fe38 Close as lack of more context. And please use English. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
let allocator = Allocator::default();
let (output, source_type) = deobfuscator_handle(input_path, &allocator);
let mut program = Parser::new(&allocator, &output, source_type).parse().program;
这几行代码,耗时得60多ms。所以我想可不可以有更加快的办法,应为需要特别快的速度
Beta Was this translation helpful? Give feedback.
All reactions