[ENH][VM] primitiveCopyObject

Avi Bryant avi at beta4.com
Fri Dec 5 22:59:56 UTC 2003


On Dec 5, 2003, at 12:29 PM, Andreas Raab wrote:

> Change Set:		CopyObject
> Date:			5 December 2003
> Author:			Andreas Raab
>
> Introduces a primitiveCopyObject which can be used for (shallow) 
> copying
> state from some other object of the same class. This allows for 
> efficiently
> 'backing up' and 'restoring' state in some object. For example, one 
> can use
> a #clone of the object to get a backup and then use #copyFrom: to 
> restore
> the backup.

Hey great - that's occasionally a bottleneck for Seaside.  Thanks.




More information about the Squeak-dev mailing list