httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: [PATCH] NT cleanup
Date Mon, 16 Jun 1997 17:31:39 GMT
On Mon, 16 Jun 1997, Jim Jagielski wrote:

> Ben Laurie wrote:
> > 
> > Jim Jagielski wrote:
> > > Oh yeah... nt/multithread.c does the right thing with respect
> > > to these functions.
> > 
> > Yeah, the snag is that using those cause an unnecessary call/return, with
> > associated performance penalty - which has been condemned in the past.
> Hmmm... But most good optimizing compilers should take care of that,
> shouldn't they?

When the word "global" is used in "global optimizating compiler" it
actually refers to a compiler that optimizes across multiple blocks
of code within a single function (a block of code is a sequence of
instructions that is entered at the top, and leaves only at the bottom).
I don't think there are standard terms for a compiler which optimizes
across function boundaries within a file.  There are also very few
compilers to optimize across files (you have to do these optimizations
in the linking stage actually).  So the above won't be caught.


View raw message