[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Sticky Variables
Just to muddy the waters some more, on the topic of copying this might be of interest to you.
http://www.suttoncourtenay.org.uk/duncan/accu/pythonpatterns.html#flyweight
On 5/28/07, Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx> wrote:
Ethan Glasser-Camp wrote:
> I'm interested in the curious use case Kris posts -- checking for
> object identity as part of a sea adventure? I can only imagine. :)
Well, it's obvious, really -- if you're being attacked
by a school of giant venomous sea serpents, and you can
determine that they're actually all references to the
same monster, you can save quite a lot of harpoons.
--
Greg