Introduction Background While finishing the work on my Octave Shifter Audio Unit I spent lots of hours using Apple's profiling tool called Shark. During the process I found out that a lot of the code could be optimized using vector operations instead of so-called scalar code. Vector operations work on large sets of data and offer a way to apply a single transformation on an array or matrix of valu