Google Groups Home
Help | Sign in
Message from discussion Optimise my ray tracer
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
Lasse Reichstein Nielsen  
View profile
 More options 11 Jun 2005, 16:01
Newsgroups: comp.lang.java.programmer
From: Lasse Reichstein Nielsen <l...@hotpop.com>
Date: Sat, 11 Jun 2005 17:01:30 +0200
Local: Sat 11 Jun 2005 16:01
Subject: Re: Optimise my ray tracer

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
be written significantly better.

Just making the Vector class static will reduce its number of fields
by 25%, which should make a significant cut in the initialization time
for each Vector.

/L
--
Lasse Reichstein Nielsen  -  l...@hotpop.com
 DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
  'Faith without judgement merely degrades the spirit divine.'


    Reply to author    Forward  
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.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google