Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dart2wasm] Optimize RTT data structures
This CL optimizes the RTT data structures by * Having a canonical table for substitution arrays * Stores the (canonical) substitution index to use right next to the super class id, thereby * Removing an indirection when looking up substitutions See more information in `sdk/lib/_internal/wasm/lib/type.dart` This reduces * `Hello.Compile.Size.wasm.opt` by ~ 4% * `FluteComplex.Compile.Size.wasm.opt` by ~0.5% Issue #55516 Change-Id: If0a50780a9a604886bd67a08a2f345103f0bcb32 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/369641 Reviewed-by: Ömer Ağacan <[email protected]> Commit-Queue: Martin Kustermann <[email protected]>
- Loading branch information