logo       

Re: Tail recursion -> while (?): msg#00245

lang.scala

Subject: Re: Tail recursion -> while (?)

On 1/19/07, David Pollak <dpp@xxxxxxxxxx> wrote:
Are there any magic compiler flags that show what functions are being
optimized?

A good way to verify optimisations is to look at the generated
bytecode. The javap tool, included with the Sun JDK, can help with
this. Using the -c option will show you the bytecode for a classfile.

http://java.sun.com/j2se/1.5.0/docs/tooldocs/#basic

Cheers
Rich
--
Rich Dougherty
http://www.rd.gen.nz/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise