diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-04 15:21:22 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-04 15:21:22 -0700 |
| commit | 3dba016a9354d9c50743877988c8d928d25f7a2b (patch) | |
| tree | 6989531561befe0019cc16ab3693c6ba4a789784 /node/Hashtable.hpp | |
| parent | db0369e9b8e6bf49ce8ec8f7fe706004314d4548 (diff) | |
| download | infinitytier-3dba016a9354d9c50743877988c8d928d25f7a2b.tar.gz infinitytier-3dba016a9354d9c50743877988c8d928d25f7a2b.zip | |
Almost done... very few std::map<>s remaining in any spot that matters.
Diffstat (limited to 'node/Hashtable.hpp')
| -rw-r--r-- | node/Hashtable.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/node/Hashtable.hpp b/node/Hashtable.hpp index 29c54838..bcc111e3 100644 --- a/node/Hashtable.hpp +++ b/node/Hashtable.hpp @@ -39,8 +39,9 @@ namespace ZeroTier { * A minimal hash table implementation for the ZeroTier core * * This is not a drop-in replacement for STL containers, and has several - * limitations. It's designed to be small and fast for use in the - * ZeroTier core. + * limitations. Keys can be uint64_t or an object, and if the latter they + * must implement a method called hashCode() that returns an unsigned long + * value that is evenly distributed. */ template<typename K,typename V> class Hashtable |
