Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove linear search for the dart plugin registrant #99308

@gaaclarke

Description

@gaaclarke

After flutter/engine#31418 the Dart Plugin Registrant will be hunted down at runtime by looking through the loaded libraries. So it has O(n), it could be O(1) if we set the library URI of the dart plugin registrant to be a fixed location or if we passed the URI down from the tool somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions