[dart2js] value range analysis very slow for many list accesses. #56919
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
dart2js-optimization
P3
A lower priority bug or feature request
web-dart2js
It is unusual for a method to have thousands of indexing expression off the same list, but when it does, compilation can be very slow.
The root cause is that inserting RangeConversion instructions can be quadratic in straight-line code, but on top of that, there is another N multiplier in how the usedBy list is updated, removing each updated use one at a time.
The text was updated successfully, but these errors were encountered: