Add more data structures to package collection
#977
Replies: 7 comments
-
@gingerBill I thought Small Array would be something more like https://github.com/KhronosGroup/SPIRV-Cross/blob/master/spirv_cross_containers.hpp#L191 -- where the backing store begins on the stack, but is automatically moved to the heap for you if the number of elements grows too big. This extra bit of functionality seems to be missing from your Small Array. We already have an allocator that can point at stack allocated memory. |
Beta Was this translation helpful? Give feedback.
-
@kevinw It might be better to call it a |
Beta Was this translation helpful? Give feedback.
-
Yeah, that would make sense! Although I wonder about the need for a Fixed_Small_Array, really... |
Beta Was this translation helpful? Give feedback.
-
I use the construct of a "fixed small array" all the time, especially when I want a small inline data structure that requires no external allocator. |
Beta Was this translation helpful? Give feedback.
-
What about also adding a Ternary Search Tree. I think I seen these would be useful for spellcheck type of things. |
Beta Was this translation helpful? Give feedback.
-
Dense and Sparse Spatial Hashing |
Beta Was this translation helpful? Give feedback.
-
This entire package needs a redesign and rethinking #782 |
Beta Was this translation helpful? Give feedback.
-
More data structures to add:
Beta Was this translation helpful? Give feedback.
All reactions