How effecient are Arrays/OwnedArrays?


#1

Could I go through the elements of an owned array every 100 samples or so in a VST without performance issues?


#2

(Depends how many there are, of course)

But if you access them with getUnchecked() then the compiler should be able to optimise it to being as fast as just using a C array, because there are no bounds checks.


#3