Efficiently Blue

Thu Oct 30 22:28:00 +0000 2003 (Posted by Tim)

Development Activities
0 Comments

While I’m waiting for the Windows Jitter SDK (so that I can get Tap.Tools 1.5 done), I’ve been continuing to play with ideas for Tap.Tools Blue. The last couple of days I’ve been working on some speed boosts…

The big speed boost I’m playing with right now involves using function pointers to replace switches and if statements in my code (known as branching). It turns out to make a rather dramatic improvement in performance. For example, 50 copies an svf filter object (like MSP’s svf~) in MSP with a switch() statement runs at 54% of the CPU on my laptop. Using function pointers, the same 50 copies run at 12% cpu.

I had no idea the difference would be that big. There are also improvements in the panner, crossfade, wavetable oscillator, and other objects. It looks like Tap.Tools Blue is going to be a significant speed bump over the previous Tap.Tools – and I find that exciting!

Share your own thoughts or comments...

Please log in to leave a comment.

Back to Electoblog Table of Contents