Skip to content

Multi-Threading Optimized

Latest
Compare
Choose a tag to compare
@HenrYxZ HenrYxZ released this 18 Oct 21:20
· 6 commits to master since this release

Optimization of rendering using multiprocessing. Now it's using about 30% of the memory it used before and it's faster.
That's because now rays are created and traced in the same function that goes in parallel.

Also now using imap_unordered function for memory optimization (https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.Pool.map)