[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] very slow pygame.init() under Snow Leopard



Init() from my understanding is just a shortcut to call all of the initialization functions on the main pygame packages, it is likely a specific pygame package which is causing the slowdown, try calling the init() functions on only the packages you need, i.e. display, mixer, etc.  And see if that helps.  At the very least, we'll have a better idea of which packages are causing slowdown.

On Fri, Aug 26, 2011 at 8:58 AM, John Jameson <jwing45@xxxxxxxxx> wrote:
I have a new Macbook Pro running 10.6 Snow Leopard and when I run any pygame code that calls pygame.init() it takes literally about 10 seconds to complete the call. Other examples, like "Samegame" are quite elaborate but don't call init() and start up immediately. Any thoughts anyone?  I installed python 2.6 via Macports (64bit) with Pygame 1.9.
best,
John