🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Clinton Hyde Tue, 13 Oct 1992 16:13
copying instances
#322
Author: Clinton Hyde
Date: Tue, 13 Oct 1992 16:13
28 lines
1555 bytes
there was some discussion recently about copying objects. barmar
appears not to like the idea over much.

there are good points and bad points. a good point is that it's
actually fairly easy. a bad point is that it's not going to be easy to
bypass the create and setf (and before/after) methods if you need to.

I have code to do the copying. it works quite well, and there's an
extra control so that you can avoid copying slots (by name) if there's
a reason to do so (believe me, there will be). it's smart enough not
to make new copies of things already copied and referenced different
places. I use it all the time on my current project. it's not
completely generalized regarding when not to copy things, and I won't
swear that it copies all possible lisp objects (i don't work with
hash-tables, so I don't know if it can handle them...other things
likewise). 

be happy to give a copy of my code to anyone...

 -- clint
--

Clint Hyde		"Give me a LispM or give me death!" -- anonymous

Advanced Decision Systems/BAH	Internet:  chyde@chesapeake.ads.com
1953 Gallows Rd, Suite 600
Vienna, VA  22182-3934		(703) 902-7130
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads