Plugin processing 4 track stave

• May 18, 2025 - 12:27

In MS4.5.1 is it more efficient to process nested loops of

Tick then Track
or
Track then Tick
or does it make no difference?


Comments

  1. Do whatever seems more logical (IMHO that is track in the outer loop, tick in the inner)
  2. Change only after having measure the difference, and only if it is significant ;-)

In reply to by Jojo-Schmitz

Thanks.

I've normally gone for tick on the outer loop on the (guessed) basis that moving the cursor to the next tick is going to be an expensive operation compared with stepping through the tracks at a specific tick.

In the current plugin, track on the outer is just going to be more convenient to code so I'll go with it and see what the performance is like.

Do you still have an unanswered question? Please log in first to post your question.