Vstwrapper process() little performance optimization


#1

small suggestion

in JuceVSTWrapper::process(…)

every time process() is called a block memory will be allocated,
maybe its better to create it once as a pointer-object, and resized it if its to small.


#2

Well, that’s true, but I didn’t go to much trouble in implementing that method because so few hosts ever use it, and it’s even been deprecated in the latest version of the VST SDK. The method’s really just there as a fallback in case an old host needs it, and I doubt if such a host would support multi-core processing, which is probably the only time that an allocation would cause much of a problem.