Draw in Ruby question. (dot vs array)
Posted: Sat Nov 09, 2019 6:53 pm
Hey..
Let's say I'm drawing dots, squares, or sunbursts. if all executed in the same ruby block, to the view/display... am I saving cpu by executing an array of shapes, or typing individual entries? Or are they all executed simul. so it doesn't matter?
Thanks.
Let's say I'm drawing dots, squares, or sunbursts. if all executed in the same ruby block, to the view/display... am I saving cpu by executing an array of shapes, or typing individual entries? Or are they all executed simul. so it doesn't matter?
Thanks.