Message from discussion
Port my ray tracer
Path: g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!cox.net!news-xfer.cox.net!p01!fed1read03.POSTED!53ab2750!not-for-mail
Message-Id: <3131285.c3kaHHzYeG@yahoo.com>
From: alex goldman <he...@spamm.er>
Subject: Re: Port my ray tracer
Newsgroups: comp.lang.functional
References: <429e604b$0$7560$ed2619ec@ptn-nntp-reader03.plus.net>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Date: Wed, 01 Jun 2005 20:15:09 -0700
NNTP-Posting-Host: 68.107.102.129
X-Complaints-To: abuse@cox.net
X-Trace: fed1read03 1117682179 68.107.102.129 (Wed, 01 Jun 2005 23:16:19 EDT)
NNTP-Posting-Date: Wed, 01 Jun 2005 23:16:19 EDT
Organization: Cox Communications
Jon Harrop wrote:
> C++ 1.605s g++-3.4 -O3 -funroll-all-loops -ffast-math ray.cpp -o ray
> C 5.971s gcc-3.4 -lm -std=c99 -O3 -ffast-math ray.c -o ray
What explains such big difference here? Where is the code actually used for
benchmarking, BTW?