I’m using OS X 10.6 and Max 5.1.8, for what it’s worth. Incidentally, in my own C++ code, I can’t see a difference either. Am I alone in not seeing the speed advantage of a Cartesian pvoc?

]]>It’s possible that the trig is not significant anymore in terms of the patch as a whole. Also, the cartesian version involves a sqrt and a divide, plus a lot more basic arithmetic which is an increase of cost. As always with optimisations, the cost of various parts of an algorithm can change over time and the balance can shift.

Looks this might be one such case. For me pfft~ is normally the bottleneck with FFT processes (or more correctly fftin~ / fftout~). FWIW I find the best way for dev stuff to judge costs on mac is to Shark it – in this kind of cae where you want to know the cost of various objects it can work for patches too…

A.

]]>J

]]>