MHN
Add a comment on Hacker News →
1 of 226 comments
  1. I just went through all of this when building a raytracer.

    • Sprinkling & around everything in math expressions does make them ugly. Maybe rust needs an asBorrow or similar?
    • If you inline everything then the speed is the same.
    • Link time optimizations are also an easy win.

    https://github.com/mcallahan/lightray