Skip to content

Move away from cached tear-off closures for performance #5154

@Hixie

Description

@Hixie

@fsc8000 reports:

  1. Megamorphic calls have caught up in speed -- the transformation done for
    RenderObject.performLayout is not needed anymore, even slightly
    counter-productive in the AOT case: 1% speedup by reverting to a normal
    instance call according to my measurements.

cc @abarth

Metadata

Metadata

Assignees

Labels

c: performanceRelates to speed or footprint issues (see "perf:" labels)frameworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions