<!-- MHonArc v2.4.4 -->
<!--X-Subject: Strings & Memory Usage -->
<!--X-From-R13: Uert [hag <tertNhav-pbea.qrzba.pb.hx> -->
<!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx01.ny.us.ibm.net id 861048814.63066-1 Mon Apr 14 20:13:34 1997 -->
<!--X-Message-Id: Pine.LNX.3.91.970414194706.385A-100000@uni-corn.demon.co.uk -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199704140131.BAA489793#out1,ibm.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Strings & Memory Usage</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greg#uni-corn,demon.co.uk">
</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>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00134.html">Previous</a>
| <a href="msg00136.html">Next</a>
]
Thread:
[ <a href="msg00168.html">Previous</a>
| <a href="msg00138.html">Next</a>
]
Index:
[ <A HREF="author.html#00135">Author</A>
| <A HREF="#00135">Date</A>
| <A HREF="thread.html#00135">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Strings & Memory Usage</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: Mud Dev Mailing List <<A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A>></LI>
<LI><em>Subject</em>: Strings & Memory Usage</LI>
<LI><em>From</em>: Greg Munt <<A HREF="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</A>></LI>
<LI><em>Date</em>: Mon, 14 Apr 1997 20:07:01 +0100 (GMT+0100)</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)
Thanks,
Greg.
PS On the subject of project management, I was planning on some sort of
autocratic method, quite simply because I have experienced first-hand the
political nightmare of a democracy (see my intro). I'll probably have
some communication medium through which people can talk about design
ideas, then I would decide what I wanted, and share the work out to
numerous people. One of the goals of Frontiers is to have a code base
which *anyone* can contribute to - thats one of the reasons i'll be using
the copyleft. Probably a core base of serious programmers, and
'contractors' who want to do the odd feature here and there. I do think
it important that the programmers dont make unilateral design changes
while coding tho - they should report design flaws, where a solution
should either be given by me (if a simple fix), or discussed by everyone.
The documentation of every development stage is of paramount importance -
it sickens me how poorly documented muds and code bases are. In fact, it
might be to blame, to a degree, on the massive proliferation of stock
muds; mudders are hobbyists, so want some code to hack - they dont want
to create a unique game, most arent that serious about it.
Maybe I'm wrong, but I doubt it.
------------------------------------------------------------------------------
T H E F R O N T I E R S P R O J E C T
<A HREF="http://www.uni-corn.demon.co.uk">http://www.uni-corn.demon.co.uk</A> <A HREF="telnet://linux2.cms.shu.ac.uk:9999">telnet://linux2.cms.shu.ac.uk:9999</A>
A student who changes the course of history is probably taking an exam
</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="msg00134.html">Re: Who is Steward and what can he do for me?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00136.html">Threads and Sockets (Was Ho hum)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00168.html">Re: Threads and Sockets (Was Ho hum)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00138.html">Re: Strings & Memory Usage</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00135"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00135"><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: Threads and Sockets (Was Ho hum)</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00139" HREF="msg00139.html">Re: Threads and Sockets (Was Ho hum)</A></strong>,
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Tue 15 Apr 1997, 10:09 GMT
</LI>
<LI><strong><A NAME="00140" HREF="msg00140.html">Re: Threads and Sockets (Was Ho hum)</A></strong>,
S001GMU <a href="mailto:S001GMU#nova,wright.edu">S001GMU#nova,wright.edu</a>, Tue 15 Apr 1997, 20:33 GMT
</LI>
<LI><strong><A NAME="00143" HREF="msg00143.html">Re: Threads and Sockets (Was Ho hum)</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 15 Apr 1997, 23:07 GMT
</LI>
<LI><strong><A NAME="00168" HREF="msg00168.html">Re: Threads and Sockets (Was Ho hum)</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:09 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00135" HREF="msg00135.html">Strings & Memory Usage</A></strong>,
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Tue 15 Apr 1997, 03:13 GMT
<UL>
<li><Possible follow-up(s)><br>
<LI><strong><A NAME="00138" HREF="msg00138.html">Re: Strings & 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 & 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 & 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 & Memory Usage</A></strong>,
ashen <a href="mailto:ashen#pixi,com">ashen#pixi,com</a>, Thu 17 Apr 1997, 00:55 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>