In <[EMAIL PROTECTED]>, 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.
That's 750 fighter objects. This is not a "large" amount of objects. So I think it's premature optmization. Especially because you think of using __slots__ without actually trying if the program uses too much memory. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list