[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Flood Fill
Very nice!! :-)
First number is your improvement, second is my old one.
My question is how did you do it?
I see that the calls were changed to inline code. But why the other
changes? My change from surface to arrays made an improvement about
the same as yours. IE about 2 times faster.
0.43 #complex shape
0.76
0.22 #complex shape
0.36
0.2 #complex shape
0.34
2.62 #whole 1024,800*32 screen.
4.62
On 11/29/05, Knapp <magick.crow@xxxxxxxxx> wrote:
> Sorry I see it. You nested the sub def and it wrapped the top.
>