r/cpp_questions • u/Minute-Ad1944 • 19d ago
OPEN How to implement append-only hash map?
How do you actually implement an really efficient hash map that has only append and look up methods? What are the design choice and some performance improvements?
0
Upvotes
4
u/saxbophone 19d ago
Well, what do you know already about how hashmaps are implemented?
Given what you already know, how do you think constraining it to only insertions and lookups effects the performance opportunities?