Skip to content

Instantly share code, notes, and snippets.

View acefsm's full-sized avatar

acefsm acefsm

View GitHub Profile
@acefsm
acefsm / HUnorderedMap.hh
Created November 11, 2016 11:53 — forked from rsms/HUnorderedMap.hh
Testing (lookup) performance of different hash map algorithms for constant keys (pointer is hash)
#ifndef H_UNORDERED_MAP_
#define H_UNORDERED_MAP_
#import <tr1/unordered_map>
template<class K, class T>
class HUnorderedMap {
public:
typedef typename std::tr1::unordered_map<K, T > Map;
typedef typename Map::value_type ValueType;