swarm-support
[Top][All Lists]
Advanced

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

Re: Dropping and copying


From: Marcus G. Daniels
Subject: Re: Dropping and copying
Date: 02 Nov 1998 13:03:43 -0800

>>>>> "B" == Benedikt Stefansson <address@hidden> writes:

B> The copy: methods in Map, Set and List are actually very deceptive
B> - I wonder if they shouldn't be taken out altogether. 

I'll clarify the documentation to say that the default is shallow copy. 
But I think it is more common to use -copy: on these data
structures to keep track of set membership than it is to use them to
make, say, variant gene strings, and that going with deep copy by
default would have large, bad performance penalties for most people.

B> If you remove the line [mapOld deleteAll] the code doesn't fail. 

Nor if you use removeAll...

                  ==================================
   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]