Phase C: Incremental Package-Level IM Translation & Parallel CU Translation #17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Optimize
to intermediate lang(the single largest bottleneck taking ~3,500ms – 4,500ms / ~40% of rebuild time) through parallel compilation unit translation and incremental package-level IM caching.Motivation & Impact
In
ImTranslator.java, translating 849 compilation units from Wurst AST to Intermediate Language (IM) is currently sequential and single-threaded. Packages such asBossAbilityRegistry.wursttake >2,000ms alone due to recursive import walks inTLDTranslation.By:
ForkJoinPool, and/orthe
to intermediate langphase can be reduced from ~3.8s down to < 1.0s.Acceptance Criteria
ImProgAST.to intermediate langphase time reduced by >= 60% on multi-core systems.