George Greer wrote: > > On Sat, 20 Nov 1999, Chris Gilbert wrote: > > >What this means is you lower the number of copies of a string in the > >game, IE you've got 10 objects in the game they have 10 copies of the > >strings (I think they do, I can't remember now) using this you've got 1 > >struct as above in the proto, and then 10 pointers to it. > > Nope, they share one copy in the object index. Doh, I realised this after actually checking what stock really does, perhaps the reason I saw a drop in memory was I lost some leaks doing it, the main gain then is that you can't free up a string till all references are gone to it. Chris. +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST