xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Francois Beausoleil" <fbos AT users.sourceforge.net>
- To: "Wolfgang Hoschek" <whoschek AT lbl.gov>, xom-interest AT lists.ibiblio.org
- Cc:
- Subject: Re: [XOM-interest] Three cosmetic patches
- Date: Wed, 11 Feb 2004 20:05:58 -0500
On Wed, 11 Feb 2004 10:24:31 -0800, "Wolfgang Hoschek" <whoschek AT lbl.gov>
said:
> > If it is "tail recursion", then
> > it usually does not matter. Optimizers can turn tail recursion (where
> > the recursive call is the last instruction in the routine) into
> > standard iteration.
>
> "Usually" often does not apply to java compilers. Most java compilers
> won't actually do tail recursion transformations. You can check this
> yourself by running the snippet below. Tail recursion transformation
> would rewrite the recursion into "while (true) {}". If the program
> crashes with a StackOverflow the compiler does not do the optimization;
> if it continues infinitely without any problem the compiler does the
> optimization.
Thanks for the info !
[snip]
Bye !
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/
-
[XOM-interest] Three cosmetic patches,
Wolfgang Hoschek, 02/09/2004
-
Re: [XOM-interest] Three cosmetic patches,
Elliotte Rusty Harold, 02/10/2004
-
Re: [XOM-interest] Three cosmetic patches,
Wolfgang Hoschek, 02/10/2004
-
Re: [XOM-interest] Three cosmetic patches,
jcowan, 02/10/2004
-
Re: [XOM-interest] Three cosmetic patches,
Elliotte Rusty Harold, 02/11/2004
-
Re: [XOM-interest] Three cosmetic patches,
jcowan, 02/11/2004
-
Re: [XOM-interest] Three cosmetic patches,
Elliotte Rusty Harold, 02/11/2004
- Re: [XOM-interest] Three cosmetic patches, jcowan, 02/11/2004
-
Re: [XOM-interest] Three cosmetic patches,
Elliotte Rusty Harold, 02/11/2004
-
Re: [XOM-interest] Three cosmetic patches,
jcowan, 02/11/2004
-
Re: [XOM-interest] Three cosmetic patches,
Elliotte Rusty Harold, 02/11/2004
-
Re: [XOM-interest] Three cosmetic patches,
Wolfgang Hoschek, 02/11/2004
- Re: [XOM-interest] Three cosmetic patches, Francois Beausoleil, 02/11/2004
-
Re: [XOM-interest] Three cosmetic patches,
jcowan, 02/10/2004
-
Re: [XOM-interest] Three cosmetic patches,
Wolfgang Hoschek, 02/10/2004
- <Possible follow-up(s)>
-
Re: [XOM-interest] Three cosmetic patches,
Trimmer, Todd, 02/12/2004
- Re: [XOM-interest] Three cosmetic patches, Elliotte Rusty Harold, 02/12/2004
- RE: [XOM-interest] Three cosmetic patches, Trimmer, Todd, 02/13/2004
-
Re: [XOM-interest] Three cosmetic patches,
Elliotte Rusty Harold, 02/10/2004
Archive powered by MHonArc 2.6.24.