Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

refactor(ngOptions): optimize getWatchables array #11050

Closed
@sjbarker

Description

@sjbarker

We need to prevent storing irrelevant or unnecessary watchers. See discussion in PR #11017:

@petebacondarwin wrote:

I realised that we can actually optimize this by only including things that are being specified. So for instance, if no disable when clause was provided we would not need to watch this expression. The same for the displayFn which computes the label.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions