top | item 39163807 (no title) pagghiu | 2 years ago That's a fair observation.What containers, beside Vector<T> (and Map<K,V> made with Vector) + variants would you like to see the most? discuss order hn newest shortrounddev2|2 years ago Set, Stack, Queue, and their various implementations (HashSet, PriorityQueue, etc) pagghiu|2 years ago There is a VectorSet that creates Set with an unsorted vector. I think it would be good (and easy) creating a SortedVectorSet for better performance.HashMap and proper Map<K,V> are already on the roadmap https://pagghiu.github.io/SaneCppLibraries/library_container...Stack can be easily created with Vector.I think Queue is pretty specialized, but I will think about it. smallstepforman|2 years ago My projects use stack and deque often. pagghiu|2 years ago Stack can be easily created with Vector (I can add it, thanks for the hint). I am conceptually against using Deque. If you need to keep stable addresses for objects you can use ArenaMap https://pagghiu.github.io/SaneCppLibraries/library_container...
shortrounddev2|2 years ago Set, Stack, Queue, and their various implementations (HashSet, PriorityQueue, etc) pagghiu|2 years ago There is a VectorSet that creates Set with an unsorted vector. I think it would be good (and easy) creating a SortedVectorSet for better performance.HashMap and proper Map<K,V> are already on the roadmap https://pagghiu.github.io/SaneCppLibraries/library_container...Stack can be easily created with Vector.I think Queue is pretty specialized, but I will think about it.
pagghiu|2 years ago There is a VectorSet that creates Set with an unsorted vector. I think it would be good (and easy) creating a SortedVectorSet for better performance.HashMap and proper Map<K,V> are already on the roadmap https://pagghiu.github.io/SaneCppLibraries/library_container...Stack can be easily created with Vector.I think Queue is pretty specialized, but I will think about it.
smallstepforman|2 years ago My projects use stack and deque often. pagghiu|2 years ago Stack can be easily created with Vector (I can add it, thanks for the hint). I am conceptually against using Deque. If you need to keep stable addresses for objects you can use ArenaMap https://pagghiu.github.io/SaneCppLibraries/library_container...
pagghiu|2 years ago Stack can be easily created with Vector (I can add it, thanks for the hint). I am conceptually against using Deque. If you need to keep stable addresses for objects you can use ArenaMap https://pagghiu.github.io/SaneCppLibraries/library_container...
shortrounddev2|2 years ago
pagghiu|2 years ago
HashMap and proper Map<K,V> are already on the roadmap https://pagghiu.github.io/SaneCppLibraries/library_container...
Stack can be easily created with Vector.
I think Queue is pretty specialized, but I will think about it.
smallstepforman|2 years ago
pagghiu|2 years ago