mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
Use the parse_off_thread() helper to submit parse_program(ProgramType::Module) to the ThreadPool for parsing on a worker thread. Bounce back to the main thread to compile and deliver the result via deferred_invoke. Falls back to synchronous parsing when the Rust pipeline is unavailable (LIBJS_CPP=1 or LIBJS_COMPARE_PIPELINES=1).
2.2 KiB
2.2 KiB