A library to convert a set of input patterns into tokens.
Go to file
Danila Fedorin 01d49eb397 Implement a few "pair map" functions, mostly used for hash tables.
In order to efficiently check if nodes are contained within a
given set, without knowing exactly how many nodes there are and
allocating a ton of memory, it's probably best to use a hash table
(sparse sets would be more efficient but would require to allocate
all of their space at once). It's also pointless to reimplement most
of the hash table functionality from libds just to get it to work
with pairs (pattern id + node id), so pairmap.h provides a few
defaults that can be plugged into the default ht_s, as well as a
few macros to facilitate some hash table operations.
2017-01-27 22:16:31 -08:00
external Update libds. 2017-01-27 22:04:16 -08:00
include Implement a few "pair map" functions, mostly used for hash tables. 2017-01-27 22:16:31 -08:00
src Implement a few "pair map" functions, mostly used for hash tables. 2017-01-27 22:16:31 -08:00
.gitignore Initial commit. Setup gitignore. 2017-01-19 15:29:50 -08:00
.gitmodules Add libds dependency. 2017-01-19 15:30:11 -08:00
CMakeLists.txt Implement a few "pair map" functions, mostly used for hash tables. 2017-01-27 22:16:31 -08:00