jalberse / RayTracingInOneWeekendInRust

Ray Tracing In One Weekend, in Rust
1 stars 0 forks source link

Switch to Rayon for multi-threading #45

Closed jalberse closed 1 year ago

jalberse commented 1 year ago

This results in much cleaner code than dealing with messages and channels and thread spawning and so on. It's also likely more efficient, as Rayon can handle thread count intelligently (in any case, I saw no performance degradation).

Resolves #44 .