MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Naming and Directories?
Chris Gray (cg#ami-cg,GraySage.Edmonton.AB.CA) spake thusly:
> [Jo Dillon:]
>
> > 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...
[Elided]
> 'FD_SET', etc. Keep in mind that the practice of having short accessor
> routines be 'inline' is a C++ thing, and doesn't port to ANSI C (I think -
> I know gcc supports 'inline', but is it part of ANSI C?)
Well, I was thinking a modern optimising C compiler might be smart enough
to inline without being told to do so with very short functions. This
might have changed since you last looked at the appropriate headers,
since after all compilers are getting more clever every year ;)
Also, in the specific case of includes designed to be used with gcc
(glibc?) 'inline' might well be used - after all C++ as well as C compilers
use the libc, and would benefit a lot from this sort of optimisation.
--
Jo
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- Re: [MUD-Dev] Naming and Directories?, (continued)
- Re: [MUD-Dev] Naming and Directories?,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Wed 17 Mar 1999, 18:31 GMT
- Re: [MUD-Dev] Naming and Directories?,
J C Lawrence claw#kanga,nu, Wed 17 Mar 1999, 19:43 GMT
- Re: [MUD-Dev] Naming and Directories?,
Jo Dillon emily#thelonious,new.ox.ac.uk, Thu 18 Mar 1999, 09:59 GMT
- RE: [MUD-Dev] Naming and Directories?,
Jay Carlson nop#mitre,org, Thu 18 Mar 1999, 12:27 GMT
- Re: [MUD-Dev] Multiple clients (was Re: How to support 1000+ simultaneous connections),
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Fri 12 Mar 1999, 05:40 GMT
- RE: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.,
Koster, Raph rkoster#origin,ea.com, Thu 11 Mar 1999, 15:14 GMT
- [MUD-Dev] ADMIN: Kanga.Nu outage and other news -- please read,
J C Lawrence claw#varesearch,com, Wed 10 Mar 1999, 22:38 GMT
[ Other Periods
| Other mailing lists
| Search
]