From: Julian Brown <brown@cs.bris.ac.uk>
To: caml-list@inria.fr
Subject: Re: Mini ray tracer
Date: Mon, 2 May 2005 19:48:58 +0000 (UTC) [thread overview]
Message-ID: <slrnd7d1d1.dg5.brown@panic.cs.bris.ac.uk> (raw)
In-Reply-To: <200504281037.46186.jon@ffconsultancy.com>
On 2005-04-28, Jon Harrop <jon@ffconsultancy.com> wrote:
>
> I just knocked up a little ray tracer in OCaml to test its viability for the
> shootout:
>
> http://www.ffconsultancy.com/free/ray_tracer/
>
> Here, it traces a 768^2 image of 66,430 spheres in 22.51s on a 1.2GHz
> Athlon-Thunderbird and in 7.24s on a 1.8GHz Athlon 64.
>
> I've boiled it down to 94 LOC and posted it to the shootout mailing list.
Re:
http://www.ffconsultancy.com/free/ray_tracer/comparison.html
Interesting results, but it's kind of unfair to leave optimisation turned
off for g++! What kind of results do you get with, say, -O3 -ffast-math?
Cheers,
Julian
next prev parent reply other threads:[~2005-05-02 19:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 9:37 Jon Harrop
2005-05-02 19:48 ` Julian Brown [this message]
2005-05-03 22:47 ` [Caml-list] " Jon Harrop
2005-05-04 6:24 ` Florian Hars
2005-05-04 7:27 ` Jon Harrop
2005-05-04 11:22 ` Jon Harrop
2005-06-13 2:46 Jon Harrop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnd7d1d1.dg5.brown@panic.cs.bris.ac.uk \
--to=brown@cs.bris.ac.uk \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).