What's the simplest way to make a circular buffer using JUCE?

Oh wow that is sublime. I wish I thought of that before I wrote 50 lines of code to do essentially the same thing haha

A few years ago I checked that and the compiler did not do this optimization in my case (some ARM compiler, I guess it was gcc but not 100% sure). The performance enhancement in optimizing this part was quite reasonable.

3 Likes