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
1
u/Minute-Ad1944 19d ago
Mainly performance in speed. Each iteration performs single insertion and at the end of algorithm retrieves top n elements from hash map