I’d like to study the source code for a fast and memory efficient hashmap implementation. Any suggestions where I can find one online?
+1
A:
With visual studio, you could start with the one in the stdext namespace (2008 and earlier) or the STL one in VS 2010. See <unordered_set> and <unordered_map>
.
KJAWolf
2009-08-04 19:33:46
A:
This one's in C, but it shouldn't be that different from a C++ implementation:
http://attractivechaos.awardspace.com/khash.h.html
Other options available here:
Amber
2009-08-04 19:33:54