Skip to content

perf: packing algorithm runs too frequently #9

Description

@McManning

The packing algo in useCellList will execute ~4x each time we click a NoteAnchor due to various focus changes, container height changes, and cell position changes that all happen in various render cycles. Since there's a sort in there as well, performance isn't going to scale well.

Throttle the packing algo, or figure out some other way to reduce call count through some memoization magicks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions