[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Does anyone have a python implementation of A*?



Magnus Lie Hetland <magnus@hetland.org>:
>
> l = [i for i in range(SIZE)]
> 

That should of course have been

  l = [i for i in xrange(SIZE)]

Doesn't change the picture much, though. The plain for loop is still
faster.

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org