From: Charles O Nutter Date: 2006-08-03T14:20:35+09:00 Subject: Re: For performance, write it in OCaml ------=_Part_79087_19990509.1154582433099 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/2/06, Jon Harrop wrote: > > Compile Run > C 0.137s 0.386s gcc -O3 -Wall > OCaml 0.171s 0.668s ocamlopt > OCaml 0.161s 0.626s ocamlopt -inline 100 -unsafe > OCaml2 0.165s 0.415s ocamlopt > OCaml2 0.165s 0.401s ocamlopt -unsafe > Java 1.565s 1.688s javac > I assume this is the unmodified Java version...don't make me come over there and smack you! :) I'd be interested in seeing all of these run without IO as well...that was the big bottleneck for Java. Oh, and maybe Java 6 too? It's like 20-30% faster than Java 5...I don't know how Sun does it. -- Contribute to RubySpec! @ www.headius.com/rubyspec Charles Oliver Nutter @ headius.blogspot.com Ruby User @ ruby.mn JRuby Developer @ www.jruby.org Application Architect @ www.ventera.com ------=_Part_79087_19990509.1154582433099--