How would one write in order to a NativeList?
Scenario:
A mathematically intensive task that doesn’t have a dependency on the state of methodically identical parallel tasks will add (unknown prior) 0 - 5 items to a [WriteOnly] NativeList
. While the order the work is done in doesn’t matter, the order the items are added do.
So far:
I’ve written the job up just fine, but I’m not knowledgeable enough about this to know how to store the results correctly. I essentially want the work to be done in parallel, and the results to wait until they should be added to the list so that the results in the list are in index order.
Thanks