<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Naming and Directories? --> <!--X-From-R13: Xb Rvyyba <rzvylNgurybavbhf.arj.bk.np.hx> --> <!--X-Date: Wed, 17 Mar 1999 01:51:44 -0800 --> <!--X-Message-Id: 19990317101812.A24338#thelonious,new.ox.ac.uk --> <!--X-Content-Type: text/plain --> <!--X-Reference: 199903170611.XAA00684@ami-cg.GraySage.Edmonton.AB.CA --> <!--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:emily#thelonious,new.ox.ac.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="msg00629.html">Previous</a> | <a href="msg00630.html">Next</a> ] Thread: [ <a href="msg00623.html">Previous</a> | <a href="msg00642.html">Next</a> ] Index: [ <A HREF="author.html#00631">Author</A> | <A HREF="#00631">Date</A> | <A HREF="thread.html#00631">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>: Jo Dillon <<A HREF="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</A>></LI> <LI><em>Date</em>: Wed, 17 Mar 1999 10:18:12 +0000</LI> <LI><em>Mail-Followup-To</em>: mud-dev#kanga,nu</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> Chris Gray (cg#ami-cg,GraySage.Edmonton.AB.CA) spake thusly: > [Mark Gritter:] > > >Hmm... this seems unnecessary. Wouldn't strcmp() quit as soon as there > >was a difference in the strings anyway? You'd only be saving the > >function call overhead, which could be eliminated by inlining. > > Most compiler systems can only inline functions that they have the > source to. So, that would work if you wrote your own strcmp(), but not > with the (possibly highly optimized) system one. I've used the trick If it's that optimised might it not be defined in the header file, giving the compiler the source? I mean, if I was writing a highly optimised strcmp I wouldn't overlook the overhead involved in a function call... -- Jo _______________________________________________ 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="00623" HREF="msg00623.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG> <UL><LI><EM>From:</EM> Chris Gray <cg#ami-cg,GraySage.Edmonton.AB.CA></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00629.html">Re: [MUD-Dev] On the topic of Mud AI</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00630.html">Re: [MUD-Dev] Re: pet peeves</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00623.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00642.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00631"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00631"><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="00608" HREF="msg00608.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:40 GMT </LI> </ul> <LI><strong><A NAME="00581" HREF="msg00581.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>, Sun 14 Mar 1999, 09:31 GMT </LI> <LI><strong><A NAME="00622" HREF="msg00622.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>, Tue 16 Mar 1999, 22:15 GMT </LI> <LI><strong><A NAME="00623" HREF="msg00623.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>, Tue 16 Mar 1999, 22:21 GMT <UL> <LI><strong><A NAME="00631" HREF="msg00631.html">Re: [MUD-Dev] Naming and Directories?</A></strong>, Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Wed 17 Mar 1999, 09:51 GMT </LI> <LI><strong><A NAME="00642" HREF="msg00642.html">Re: [MUD-Dev] Naming and Directories?</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Wed 17 Mar 1999, 21:57 GMT </LI> </UL> </LI> <LI><strong><A NAME="00639" HREF="msg00639.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>, Wed 17 Mar 1999, 18:31 GMT <UL> <LI><strong><A NAME="00640" HREF="msg00640.html">Re: [MUD-Dev] Naming and Directories?</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Wed 17 Mar 1999, 19:43 GMT </LI> <LI><strong><A NAME="00646" HREF="msg00646.html">Re: [MUD-Dev] Naming and Directories?</A></strong>, Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Thu 18 Mar 1999, 09:59 GMT </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>