JUCE icon indicating copy to clipboard operation
JUCE copied to clipboard

RFFT improvement: remove the double size memory requirement

Open yairchu opened this issue 1 year ago • 0 comments
trafficstars

On 2017, the JUCE team showed interest in fixing the double size memory requirement of juce::FFT, this PR does this while also removing duplication and complication in the code.

Fabian originally suggested making the FFTFallback's real transform more efficient and avoid producing the intermediate redundant results, but given that it is simply the fallback engine, I chose a method that makes it even less efficient (by using additional memory buffers), as I don't see making it efficient as any priority. In fact, I would consider simplifying the fallback engine even further by removing the conditional allocas in it.

yairchu avatar Mar 25 '24 14:03 yairchu