Skip to content

Conversation

KivalEvan
Copy link
Contributor

@KivalEvan KivalEvan commented Sep 30, 2025

Yet another PR, this time to address unnecessarily expensive component update:

  • Measure line and bookmark rendering controller now keep track of active object rather than checking every object and setting valid active.
    • Stops updating when preview mode is on.
  • Song timeline controller stop updating when playback in non-normal UI mode, partially because timeline is completely hidden. Text and slider update is expensive even if it's not being shown.
  • Since these are time dependent, it is only updated only when time changed in ATSC.

This resulted in component updating up to 3-10x faster.

squash commit thx

Copy link
Owner

@Caeden117 Caeden117 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, will test tomorrow alongside #608

@XAce1337manX XAce1337manX merged commit c3e7fea into Caeden117:dev Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants