I'm doing some basic 2d drawing of rectangles, clipping, and font rendering, and the results I'm getting are less than responsive. There is significant lag in the overall frame rate, and profiling data shows that most of the time is spent in R and Each functions. I suspect that input validation and array construction are costing a lot of time and energy. Is there any way to reduce this overhead and make things faster?
I'm doing some basic 2d drawing of rectangles, clipping, and font rendering, and the results I'm getting are less than responsive. There is significant lag in the overall frame rate, and profiling data shows that most of the time is spent in
RandEachfunctions. I suspect that input validation and array construction are costing a lot of time and energy. Is there any way to reduce this overhead and make things faster?