msg00593.html
1999Q1/msg00593.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: Ayn Tbfurvz =?vfb-8859-1?C?Ue=T8fgnq?= <byntNvsv.hvb.ab> -->
<!--X-Date: Mon, 15 Mar 1999 06:07:40 -0800 -->
<!--X-Message-Id: 36ED8156.1D4C31AD#ifi,uio.no -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.GSO.4.05.9903140923010.15408-100000@uhunix2 -->
<!--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:olag#ifi,uio.no">
</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="msg00592.html">Previous</a>
| <a href="msg00594.html">Next</a>
]
Thread:
[ <a href="msg00582.html">Previous</a>
| <a href="msg00594.html">Next</a>
]
Index:
[ <A HREF="author.html#00593">Author</A>
| <A HREF="#00593">Date</A>
| <A HREF="thread.html#00593">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>: Ola Fosheim Grøstad <<A HREF="mailto:olag#ifi,uio.no">olag#ifi,uio.no</A>></LI>
<LI><em>Date</em>: Mon, 15 Mar 1999 22:53:26 +0100</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>
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.
I don't have any good documentation right here, but if I am not mistaken
this would be bad for a Pentium cache...
for(int i=0; i<257; i++) x += bytetable[i*32];
for(int i=0; i<256; i++) y -= bytetable[i*32];
Actually it is more complicated than this... I believe accessing a
fewer bytes could be bad if you are are unlucky with the address
locations...
--
Ola Fosheim Groestad,Norway <A HREF="http://www.stud.ifi.uio.no/~olag/">http://www.stud.ifi.uio.no/~olag/</A>
_______________________________________________
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>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00594" HREF="msg00594.html">Re: [MUD-Dev] Naming and Directories?</A></strong>
<ul compact><li><em>From:</em> Nathan F Yospe <yospe#hawaii,edu></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00582" HREF="msg00582.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
<UL><LI><EM>From:</EM> Nathan F Yospe <yospe#hawaii,edu></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00592.html">Re: [MUD-Dev] Re: pet peeves</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00594.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00582.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00594.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00593"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00593"><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>
<LI><strong><A NAME="00567" HREF="msg00567.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 13 Mar 1999, 12:57 GMT
<UL>
<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
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</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>