Ray Tracing, Ray Tracer, Haskell, Performance, Parallel Computing.
optimized further. I guess now profiling will help us to find hidden things which are still very expensive in terms of time, and possibly allocations. Our priority, however, is time. In Haskell, profiling is enabled by various approaches: Pass -prof -fprof-auto to GHC (ghc-options), as per this.