I need help speeding up an app that reads football scores and generates rankings

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Wed May 2 11:16:56 EDT 2007


In <1178118022.865173.266300 at h2g2000hsg.googlegroups.com>, jocknerd wrote:

> The biggest difference in my two apps is the C app uses linked lists.
> I feel my Python app is doing too many lookups  which is causing the
> bottleneck.

Then replace those linear searches you wrote in Python with a dictionary.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list