Thanks danny

On Apr 5, 2010 2:52 PM, "danny mcrae" <khjklujn@yahoo.com> wrote:

I think I was the person who went through the code and tried to standardize things around 32 bit a couple of years ago.  The performance reasoning for choosing one or the other had to do with a noticeable slowdown that was occurring due to type casting from mixing 32 with 64 bit.  Having everything the same made a huge difference in terms of CPU utilization, but otherwise I couldn't tell a difference in performance between the two.

I chose 32 bit because at the time LADSPA and VST both used 32 bit interfaces, and since it was the type casting that was really killing performance, it was best to have everything as 32 bit.

By the way, the biggest boost to performance came from eliminating the usage of PI from <math.h> and substituting a 32 bit version instead.  That and switching to sinf and cosf.  The casting that would take place in the interface to LADSPA and VST probably wouldn't be that big of a deal.  It was the loops in the oscillators that were really chewing up the CPU.

Danny




----- Original Message ----
From: Carmelo Piccione <carmelo.piccione@gmail.com>
To: Tommy Raz <tr...

> Download Intel® Parallel Studio Eval

> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune a...

Download Intel® Parallel Studio Eval

Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune appli...

Download Intel® Parallel Studio Eval

Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune appli...