Skip to content

Conversation

@Julusian
Copy link
Member

@Julusian Julusian commented Dec 3, 2025

This continues from #400

About the Contributor

This pull request is posted on behalf of Superfly

Type of Contribution

This is a: Code improvement

Current Behavior

The conductor constructs a filtered Timeline.TimelineState<TSRTimelineContent> for each active device. These get propagated through ThreadedClass where they then get condensed down to the new DeviceTimelineState<TSRTimelineContent> form.

New Behavior

Instead, this now does the conversion to DeviceTimelineState<TSRTimelineContent> in the conductor, passing around this smaller form over IPC to the worker_threads.

This should reduce the cost of passing this data, and simplifies the apis/types a bit to reduce the exposure of superfly-timeline within the code.

Testing Instructions

Other Information

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.

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.

2 participants