With `10000` colored rectangles on the screen, it takes `0.379` seconds to call refresh once on my computer. That is _very_ bad. Note: The limiting factor does not appear to be the window size.
With
10000colored rectangles on the screen, it takes0.379seconds to call refresh once on my computer. That is very bad.Note: The limiting factor does not appear to be the window size.