Ticket #1162 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Optimise keyframe marker rendering for 2.1.9

Reported by: nielsm Owned by: nielsm
Priority: normal Milestone: 2.1.9
Component: Audio Version: 2.1.8
Severity: minor Keywords:
Cc: Platform: All
Sub Component:

Description

During work on the audio display rewrite I found a place with a little room for improvement. When drawing keyframe markers in the audio display, a complete copy of the keyframes array is made, instead of just returning a reference to it. Avoiding this allocation + copy during each drawing of the audio display might speed things up slightly, and is safe either way.

Change History

comment:1 Changed 2 years ago by nielsm

  • Owner set to nielsm
  • Status changed from new to closed
  • Resolution set to fixed

(In [4131]) Merge part of r4130 from audio display rewrite into 2.1.9, hoping to get a small speed boost in rendering of keyframe markers on the audio display. (The boost is probably not that great.) Closes #1162.

Note: See TracTickets for help on using tickets.