From b11ffc9635204f11daac4f20596dc4e3da687eee Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 27 Aug 2015 16:17:21 -0700 Subject: Integrate Hashtable into Multicaster, where @mwarning found heaviest std::map() overhead. --- node/MAC.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/MAC.hpp') diff --git a/node/MAC.hpp b/node/MAC.hpp index 442a7a2e..619b7195 100644 --- a/node/MAC.hpp +++ b/node/MAC.hpp @@ -242,6 +242,8 @@ public: */ inline unsigned int size() const throw() { return 6; } + inline unsigned long hashCode() const throw() { return (unsigned long)_m; } + inline MAC &operator=(const MAC &m) throw() { -- cgit v1.2.3