I get on average 550k rectangles filled in a five second test. Update 14th October 2022: it was late, accidentally edited this shared project to use width/height instead of x2 and y2 like a grown up