Go to Google Groups Home    comp.lang.functional
Re: Port my ray tracer

alex goldman <he...@spamm.er>

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?