Ray Tracing, Ray Tracer, Haskell, Performance, Parallel Computing.
implementations of the function hit — one is implemented for Sphere and other is for HittableList. In the above report, Sphere’s hit turned out to be most expensive. So if there is anything we need to optimize, it is this function. Now let’s search hit in the same file, to look at the details of