[MUD-Dev] [TECH] String Classes, Memory Management, and Fragmentation

Hans-Henrik Staerfeldt hhs at cbs.dtu.dk
Tue Jul 10 11:06:05 New Zealand Standard Time 2001


On Mon, 9 Jul 2001, Derek Licciardi wrote:

> [...] Are you sharing strings for common objects/mobs?

Yes :-) Basically a hashtable+refcounting of strings is used to
reuse certain classes of strings, most notably strings that are
commonly present multiple times, i.e not player names and location
descriptions.


Hans Henrik Stærfeldt   |    bombman at diku.dk    | work:  hhs at cbs.dtu.dk      |
Address:                |___  +45 40383492    __|__       +45 45252425     __|
DTU, Kemitorvet,        | Scientific programmer at Center for Biological     |
bygn 208, CBS.          |  Sequence Analysis, Technical University of Denmark|

_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the MUD-Dev mailing list