[Shootout-list] Rule 30

Isaac Gouy igouy2@yahoo.com
Thu, 19 May 2005 23:12:51 -0700 (PDT)


--- John Skaller <skaller@users.sourceforge.net> wrote:
> On Thu, 2005-05-19 at 16:30 -0700, Isaac Gouy wrote:
> > --- Jon Harrop <jon@ffconsultancy.com> wrote:
> > -snip-
> > > Some implementations may precompute it without the reader's
> > > knowledge. More worryingly, some language implementations may
> > > precompute it without the author's knowledge.
> > 
> > Which do?
> 
> ALL compilers do constant folding which is a trivial
> example of this...
-snip-

The question had a specific context - pidigits.

Jon's answer was "We don't know which do. That's the point."

Somewhere between none (an imaginary problem) and all of them.
Perhaps the point is to find someone who knows more.



		
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html