Page 1 of 1

Draw in Ruby question. (dot vs array)

Posted: Sat Nov 09, 2019 6:53 pm
by guyman
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.

Re: Draw in Ruby question. (dot vs array)

Posted: Sun Nov 10, 2019 2:23 am
by tulamide
guyman wrote:am I saving cpu by executing an array of shapes, or typing individual entries?

I don't understand this sentence. Please provide an example fsm.