msg00594.html
1999Q1/msg00594.html · 7.4 KB
From the archive 1999Q1.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Naming and Directories? -->
<!--X-From-R13: @nguna T Kbfcr <lbfcrNunjnvv.rqh> -->
<!--X-Date: Mon, 15 Mar 1999 07:37:23 -0800 -->
<!--X-Message-Id: Pine.GSO.4.05.9903151325010.20950-100000@uhunix2 -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 36ED8156.1D4C31AD#ifi,uio.no -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Naming and Directories?</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:yospe#hawaii,edu">
</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="msg00593.html">Previous</a>
| <a href="msg00595.html">Next</a>
]
Thread:
[ <a href="msg00593.html">Previous</a>
| <a href="msg00607.html">Next</a>
]
Index:
[ <A HREF="author.html#00594">Author</A>
| <A HREF="#00594">Date</A>
| <A HREF="thread.html#00594">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Naming and Directories?</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Naming and Directories?</LI>
<LI><em>From</em>: Nathan F Yospe <<A HREF="mailto:yospe#hawaii,edu">yospe#hawaii,edu</A>></LI>
<LI><em>Date</em>: Mon, 15 Mar 1999 13:29:44 -1000</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Mon, 15 Mar 1999, Ola Fosheim [iso-8859-1] Grøstad wrote:
:Nathan F Yospe wrote:
:> of looking up words. My implementation was similar, except that I had an
:> extra level of switching when the wordbag got small... a bag that was at
:> least seven links full had the 26 branches, but the smaller ones had the
:> optimization of holding no empty links, and rapid-checking the links. In
:> testing, I'd found this became faster than the array-indexing at smaller
:> sizes, for some reason. I still haven't a clue as to why this would come
:> to be...
:You didn't happen to test this with a tight loop? If you did, then it
:most likely was caused by the the non-array implementation being held in
:the primary cache which is usually small (8K on a Pentium). Caches are
:very sensitive to non-continuous hits. This does of course not matter at
:all if the cache was wiped by some intermediate code anyway. Something I
:would expect to be the case for real life user-name lookups.
This was, IIRC, on a 1st generation PPC 601, no L2 cache, 16k primary, I
think. The test was a tight loop, and you may be entirely correct. There
should be better performance with the array indexing, and I was a little
puzzled by the results. I think I said elsewhere in the original that it
was probably a primary cache issue.
--
Nathan F. Yospe - Born in the year of the tiger, riding it forever after
University of Hawaii at Manoa, Dept of Physics, second year senior (joy)
(On Call) Associate Algorithm Developer, Textron Systems Corp, Maui Ops.
yospe#hawaii.edu <A HREF="http://www2.hawaii.edu/~yospe">http://www2.hawaii.edu/~yospe</A> Non commercial email only
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
<A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00593" HREF="msg00593.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
<UL><LI><EM>From:</EM> Ola Fosheim Grøstad <olag#ifi,uio.no></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00593.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00595.html">Re: [MUD-Dev] Elder Games</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00593.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00607.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00594"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00594"><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: [MUD-Dev] Naming and Directories?</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00570" HREF="msg00570.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Sat 13 Mar 1999, 22:40 GMT
<UL>
<LI><strong><A NAME="00578" HREF="msg00578.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Mark Gritter <a href="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</a>, Sat 13 Mar 1999, 22:57 GMT
<UL>
<LI><strong><A NAME="00582" HREF="msg00582.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 14 Mar 1999, 11:44 GMT
<UL>
<LI><strong><A NAME="00593" HREF="msg00593.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Mon 15 Mar 1999, 14:07 GMT
<UL>
<LI><strong><A NAME="00594" HREF="msg00594.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Mon 15 Mar 1999, 15:37 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00607" HREF="msg00607.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Tue 16 Mar 1999, 12:27 GMT
<UL>
<LI><strong><A NAME="00613" HREF="msg00613.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Mark Gritter <a href="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</a>, Tue 16 Mar 1999, 13:46 GMT
</LI>
<LI><strong><A NAME="00625" HREF="msg00625.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 17 Mar 1999, 00:54 GMT
<UL>
<LI><strong><A NAME="00626" HREF="msg00626.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Hans-Henrik Staerfeldt <a href="mailto:hhs#cbs,dtu.dk">hhs#cbs,dtu.dk</a>, Wed 17 Mar 1999, 02:48 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</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>