[PATCH] D22681: [esan] Add generic resizing hashtable

Derek Bruening via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 12:17:51 PDT 2016


bruening updated this revision to Diff 66520.
bruening added a comment.

Makes the table more like a classic C++ container:
+ Moves the hash function pointer to be a functor template parameter
+ Adds a functor template parameter for the comparision function
+ Moves ExternalLock to be a template paramter to eliminate conditional branches
+ Eliminates the default pointer deref
+ Removes the payload-freeing function pointer in favor of calling the destructor


https://reviews.llvm.org/D22681

Files:
  lib/esan/esan_hashtable.h
  test/esan/Unit/hashtable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22681.66520.patch
Type: text/x-patch
Size: 12919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/fdebf892/attachment.bin>


More information about the llvm-commits mailing list