Chromium Code Reviews
DescriptionProtect types_propagation receiver type strengthening against many users.
receiver.dominatedUsers(instruction) is slow if [instruction] is in a
block with thousands of uses of [receiver]. I this case, it makes
sense to see if the type would be strengthened first.
10x performance increase on compiling MicroClosures benchmark which has 5k lines like the following two:
a.add(this.f1234);
a.add(this.f1235);
R=sigmund@google.com, het@google.com
Committed: https://github.com/dart-lang/sdk/commit/07184079197a999f8e138738fa81f6558f3e34da
Reverted: https://github.com/dart-lang/sdk/commit/d63577da675f00e7a9115c7778557d9b186f809d
Committed: https://github.com/dart-lang/sdk/commit/52ecac4ed50cd25d5cf1def3e9bfcf1c6a83d133
Patch Set 1 #Patch Set 2 : baseline #Patch Set 3 : hoist check for existing refinement #
Total comments: 1
Patch Set 4 : rebase #
Messages
Total messages: 15 (6 generated)
|
||||||||||||||||||||||||||||