The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.java.programmer
From: Jon Harrop <use...@jdh30.plus.com>
Date: Sat, 11 Jun 2005 17:40:42 +0100
Local: Sat 11 Jun 2005 17:40
Subject: Re: Optimise my ray tracer
Lasse Reichstein Nielsen wrote: Great, tell me how (provided it doesn't get too much longer). > Jon Harrop <use...@jdh30.plus.com> writes: >> I have taken startup time into consideration. Java is still consistently >> many times slower than most other languages. > Is this using the original code that was posted here? Because it can > Just making the Vector class static will reduce its number of fields One my machine, the original took 31s for: > by 25%, which should make a significant cut in the initialization time > for each Vector. $ javac ray.java With the vector class declared static (what exactly does this do?) it takes In contrast, Mlton-compiled SML is much shorter (79 vs 110 LOC) and runs So we really need much better optimisations if Java is going to perform -- You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||