[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r10381 - trunk/build/generator

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2004-07-24 02:47:42 CEST

Russell Yanofsky wrote:

>Max Bowsher wrote:
>
>
>>Russell Yanofsky wrote:
>>
>>
>>>I don't think targets should hold references to the generator
>>>object. The generator is a singleton, there's only one instance of
>>>it created for the entire program. It seems like a waste of space to
>>>create a bunch of target objects that all point to the same
>>>generator.
>>>
>>>
>>"waste of space"?
>>
>>
>
>Space, i.e. memory. You are adding a new class member to store redundant
>information.
>
>
The generator scripts arent indended to be run on an embedded system.
Keeping a reference to a state object is better than relying on global
variables.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 24 02:48:04 2004

This is an archived mail posted to the Subversion Dev mailing list.