Ray Tracing, Ray Tracer, Haskell, Performance, Parallel Computing.
for 40x22 size image, isn’t it? Apart from that, also note that more than 4s is spent by the GC — which is almost 20% of total time taken by the program (20s). That actually makes sense — the more memory you consume, the more work the GC will have to do to reclaim it.. Laziness can be a curse