glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] memory use (was: darkness of fog of war and how to cha


From: Stéphane Magnenat
Subject: Re: [glob2-devel] memory use (was: darkness of fog of war and how to change it correctly)
Date: Sat, 14 Jul 2007 00:56:52 +0200
User-agent: KMail/1.9.7

On Friday 13 July 2007 18:55:38 Bradley Arsenault wrote:
> Those structures are for text screen shot.The code need sto lock into the
> exact positioning of text,  and when I created them they where much better
> placed in a DrawableSurface. They are static anyhow, shared instances, and
> there is no duplication no matter how many DrawableSurface you create. They
> also remain empty unless the textshot code is enabled on the command line,
> so they take up virtually no memory.

You are right, I read too fast and missed the static. That's much less a 
problem then. I'm still no sure if DrawableSurface is really the place it 
should lie but that's not that important.

Steph

-- 
http://stephane.magnenat.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]