On Tue, Jun 10, 2014 at 12:12:56PM +0530, diliup gabadamudalige wrote:

> In Pygame Which is faster?
> 
> 1. filling the screen with a colour
>     or
> 2. blitting an image to screen


Why don't you time it and find out? Don't forget to come back and report 
what you discover, I'm sure I'm not the only one who would like to know 
the answer to the question.

http://pymotw.com/2/timeit/

More information here:

https://docs.python.org/2/library/timeit.html



-- 
Steven
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to