Skip to content

Optimization question: does _assetGraph.computeOutputs() need to be fully computed? #4262

@gmpassos

Description

@gmpassos

I'm looking at _assetGraph.computeOutputs, and I see it's only used in this line:

(_assetGraph.computeOutputs()[node.id] ?? <AssetId>{}).any(

Does computeOutputs() need to be run for all nodes?

Do you think populating only the accessed nodes would be faster?

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions