NativeCollections
NativeCollections copied to clipboard
Native Collection Types for Unity
Pretty straightforward, just need to duplicate the NativeArray2D class and extend it
A native priority queue/min heap (a simple binary heap would suffice, I suppose) would be extremely useful. I completely understand if that's outside of the scope of the project, however....
I generalized NativePerJobThreadIntPtr to take advantage of the wasted cache line space and allow for multiple counters to run at the same time. The buffer will round up to the...
I have an empty list and try to do it like the usual Native API ``` var list = new NativeLinkedList(capacity: 10, Allocator.Temp); var e = list.getEnumerator(); while(e.MoveNext()) { //...