Quesion about the proper use of __slots__

bonono at gmail.com bonono at gmail.com
Mon Feb 20 04:33:36 EST 2006


Peter Otten wrote:
> 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...
>
He could be working on a machine with < 1M RAM or some other
constraints.




More information about the Python-list mailing list