Quesion about the proper use of __slots__

Peter Otten __peter__ at web.de
Mon Feb 20 04:28:56 EST 2006


Zefria wrote:

> Also, I don't generally do any optimization at all yet (as a highschool
> student projects get trashed often enough no to bother over), but in
> this special case I'm expecting each "carrier" to have up to 150
> fighters, and 3 to 5 carriers for each of the two teams, which comes
> out to be quite large.

However, 'large numbers' are more likely to start (picture me looking out of
the window) at 100,000 than 10,000 in this context -- and you are at 750...

Peter




More information about the Python-list mailing list