Every once in a while, my Mac application goes into “beach ball mode” for a few seconds. I’ve determined that it’s getting bogged down in RectangleList::consolidate(). Any idea what’s going on here? Lots and lots and lots of regions being handled in here… I don’t see any slow-down like this on the Win side of things.
Incidentally, this routine used to hang my Mac app for minutes in previous versions of JUCE, but Jules’ recent changes improved performance greatly. I didn’t notice any problems until my last build. Could I have too many repaints() or something along those lines?