swarm-support
[Top][All Lists]
Advanced

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

Re: Multiple Zones


From: Marcus G. Daniels
Subject: Re: Multiple Zones
Date: 20 Jul 2000 08:28:54 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "RS" == Ralf Stephan <address@hidden> writes:

RS> With a logzone user, the question came up of what use multiple
RS> Zones (outside of scratchZone/globalZone) could possibly be.  I
RS> can only think of different chunk sizes for optimizing alloc/free.
RS> Is there first-hand experience someone wants to share or something
RS> obvious we overlooked?

Creating a new Zone can be useful when you have an operation that
creates a bunch of objects that you will eventually want to drop
before the end of the simulation.  By dropping the Zone, you can drop
the objects in the Zone without doing bookkeeping on the objects you
create.  A Swarm acts like a Zone, so when you put agents in a Swarm, and
then drop the Swarm all the agents are destroyed.

Other possibilities are subclasses for persistent data and optimization
strategies.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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