edin / raytracer

Performance comparison of various compilers
MIT License
57 stars 22 forks source link

Simple changes, result in impressive speedup #3

Closed shirleyquirk closed 3 years ago

shirleyquirk commented 3 years ago

Just changing Thing from a ref object to a regular object, and adding a boolean field to check for its existence, and better compiler flags, it now runs on my machine in 17ms, vs 69ms for the c++ example.

shirleyquirk commented 3 years ago

omg i'm an idiot