MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: Strings & Memory Usage
:Is there a common way to save the memory used up by storing strings? I'm
:sure something was said on this subject in the RGMA 'MUD Memory' thread
:(by George Reese, IIRC)
:
:I will probably be using some sort of bytecode compilation on my mud now.
:Would this method of memory saving simply involve checking a list of
:those strings currently in memory, and either adding a new string, or
:adding a pointer to an old string? (that would probably slow down the
:process unless the storage structure was right, tho)
Is string space such a big problem? I've always thought that most
duplicates can be trimmed out by using subroutines and object inheritance.
Of course, I always think of inheritance as pointing to the inherited
object(s) rather than just grabbing a copy of everything it has.
--
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA
- Thread context:
- Re: Strings & Memory Usage, (continued)
- Re: Strings & Memory Usage,
Jeff Kesselman jeffk#tenetwork,com, Tue 15 Apr 1997, 09:59 GMT
- Re: Strings & Memory Usage,
Shawn Halpenny rsh#dos,nortel.com, Tue 15 Apr 1997, 22:28 GMT
- Re: Strings & Memory Usage,
clawrenc clawrenc#cup,hp.com, Tue 15 Apr 1997, 22:59 GMT
- Re: Strings & Memory Usage,
ashen ashen#pixi,com, Thu 17 Apr 1997, 00:55 GMT
- Re: Strings & Memory Usage,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Mon 21 Apr 1997, 04:03 GMT
- Re: project management (or coding, kings, and other things),
Jon A. Lambert jlsysinc#ix,netcom.com, Mon 14 Apr 1997, 11:15 GMT
- Who is Steward and what can he do for me?,
Jon A. Lambert jlsysinc#ix,netcom.com, Mon 14 Apr 1997, 10:29 GMT
[ Other Periods
| Other mailing lists
| Search
]