|
Re: PyGame slowdown: msg#00227python.pygame
> import psyco > psyco.full() One should use psyco a little more sparingly. Use psyco.bind or psyco.proxy to selectively psycoize certain functions. Test after each change, and make sure you read the psyco docs, so that you know what will work best for your situation, and what operations psyco will not optimise. I use psyco on some inner looping functions in my modules, and gain a 100-200% performance boost. If I use psyco.full(), things actually slow down. Sw. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: PyGame slowdown: 00227, Jason |
|---|---|
| Next by Date: | Re: PyGame slowdown: 00227, Marek Kubica |
| Previous by Thread: | Re: PyGame slowdowni: 00227, Jason |
| Next by Thread: | Re: PyGame slowdown: 00227, Marek Kubica |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |