use a vector of chunks for the TraceStack, instead of a vector of individual pointers.
also keep a free list of chunks around to make subsequent collections faster. results in TraceStack::pop and ::push being inlined and disappearing from the perf report (::push was at 3.99% before). Also drops aggregate GC times for ray trace by ~5%. before: gc_collections_us: 2151827 after: gc_collections_us: 2023809
Showing
Please register or sign in to comment