httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@leland.Stanford.EDU>
Subject Re: [Fwd: Problem 2534]
Date Mon, 03 Aug 1998 23:48:30 GMT
On Mon, 3 Aug 1998, Dean Gaudet wrote:

> On Mon, 3 Aug 1998, Alexei Kosut wrote:
> 
> > Right. That's what I said. But since they're static, the compiler could
> > theoretically examine the whole file, see that no one was writing to them,
> > and combine them. It might not be completely street-legal, but since no
> > one outside the file can access the variables, no one would notice.
> 
> Their address is taken and passed to functions outside the file.  The
> compiler cannot make this optimization.

Oh. Right. Forgot about the initialization thing.

Unless the file we're discussing (and this example is getting more and
more theoretical) is the one that has the main() function.

I think I'll shut up now, before I start saying things that are even more
far-fetched and untrue than I am now.

-- Alexei Kosut <akosut@stanford.edu> <http://www.stanford.edu/~akosut/>
   Stanford University, Class of 2001 * Apache <http://www.apache.org> *



Mime
View raw message