[stable] [CP] Please cherry pick fix for "Superslow access to variables" #53541
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
cherry-pick-approved
Label for approved cherrypick request
cherry-pick-merged
Cherry-pick has been merged to the stable or beta branch.
cherry-pick-review
Issue that need cherry pick triage to approve
merge-to-stable
Commit(s) to merge
8a85dac
Target
stable
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/326242
Issue Description
Please see flutter/flutter#133195
Users are running into super slow cycles while debugging their Flutter apps
What is the fix
Avoid searching static functions in the imported libraries, Searching in the imported libraries could be very slow as they can be huge (e.g. the whole Flutter framework)
References to members are fully resolved in kernel. So, when
looking for a static function in the library scope, there is no need to
search in the imported libraries.
Why cherry-pick
Flutter developers are running into this issue while debugging their apps and is hurting their productivity
Risk
low
Issue link(s)
flutter/flutter#133195
Extra Info
No response
The text was updated successfully, but these errors were encountered: