A useful idiom for achieving high injestion rates into a CSpace is to concurrently create objects in a temporary "production" CSpace then later transfer them into the "main" CSpace.
It may be appropriate to create a production CSpace which doesn't automatically run garbage collections by passing CEDA_GC_THREAD_DONT_START to CreateCSpace.
$function+ void TransferCSpace(CSpace* src, CSpace* dst)
Must only be called when there is an exclusive lock on both the given src and dst CSpaces. Transfers all its objects from the src to the dst CSpace. The source CSpace becomes empty after this call. This includes its set of GC roots.