Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finalize as many completed jobs as possible
Instead of finishing one job per thread per frame, now copy job pointers to an on-thread array and run their finalizers in one pass. This means we can queue potentially 1000s of jobs in a single frame / load step without then needing to finalize them over the next 250 frames. Potentially investigate an upper limit on the number of finalized jobs; e.g. 100/thread/frame to avoid frame hitches.
- Loading branch information