1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: Strings &#38; Memory Usage -->
<!--X-From-R13: ptNnzv&#45;pt.UenlEntr.Sqzbagba.OP.QO (Quevf Uenl) -->
<!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx5.ibm.net id 861570233.150494&#45;1 Sun Apr 20 21:03:53 1997 -->
<!--X-Message-Id: 9704202007.7xtu@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: Strings &amp; Memory Usage</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00167.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00170.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00146.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00128.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00169">Author</A>
&nbsp;|&nbsp;<A HREF="#00169">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00169">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: Strings &amp; Memory Usage</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: Strings &amp; Memory Usage</LI>
<LI><em>From</em>: <A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A> (Chris Gray)</LI>
<LI><em>Date</em>: Sun, 20 Apr 97 13:07:29 MST</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
: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

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00167.html">Re: Who is Steward and what can he do for me?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00170.html">Re: r.g.m.* - worthwhile thread</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00146.html">Re: Strings &amp; Memory Usage</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00128.html">Re: project management (or coding, kings, and other things)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00169"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00169"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: Strings &amp; Memory Usage</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00138" HREF="msg00138.html">Re: Strings &amp; Memory Usage</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Tue 15 Apr 1997, 09:59 GMT
</LI>
<LI><strong><A NAME="00141" HREF="msg00141.html">Re: Strings &amp; Memory Usage</A></strong>, 
Shawn Halpenny <a href="mailto:rsh#dos,nortel.com">rsh#dos,nortel.com</a>, Tue 15 Apr 1997, 22:28 GMT
</LI>
<LI><strong><A NAME="00142" HREF="msg00142.html">Re: Strings &amp; Memory Usage</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 15 Apr 1997, 22:59 GMT
</LI>
<LI><strong><A NAME="00146" HREF="msg00146.html">Re: Strings &amp; Memory Usage</A></strong>, 
ashen <a href="mailto:ashen#pixi,com">ashen#pixi,com</a>, Thu 17 Apr 1997, 00:55 GMT
</LI>
<LI><strong><A NAME="00169" HREF="msg00169.html">Re: Strings &amp; Memory Usage</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 21 Apr 1997, 04:03 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00128" HREF="msg00128.html">Re: project management (or coding, kings, and other things)</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 14 Apr 1997, 11:15 GMT
<LI><strong><A NAME="00127" HREF="msg00127.html">Who is Steward and what can he do for me?</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 14 Apr 1997, 10:29 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00134" HREF="msg00134.html">Re: Who is Steward and what can he do for me?</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 15 Apr 1997, 00:29 GMT
</LI>
<LI><strong><A NAME="00167" HREF="msg00167.html">Re: Who is Steward and what can he do for me?</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 21 Apr 1997, 04:03 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>