Skip to content

Possible perf improvements? #7

@kun-zhou

Description

@kun-zhou

I was wondering why create the array of elements in the first place. Since we are already only rendering the children in the Viewport, why construct all the elements and stuff them in an array in the first place? This way we could save the computing power of reconstructing a huge list in the first place.

Maybe we can pass down the data array directly to ScrollViewport and only construct those elements that does actually end up in the Viewport and get rendered?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions