Subnet Cache hashtable improvements
authorMathew Heard <splitice@users.noreply.github.com>
Tue, 29 Jun 2021 01:27:24 +0000 (11:27 +1000)
committerMathew Heard <mheard@x4b.net>
Fri, 13 Aug 2021 02:00:50 +0000 (12:00 +1000)
commit9a018c2e371eb1cef9708ac71653f2f2868895fa
treebacd526ecf30918b0732a450296a706a01b42a41
parent914d1be411229c28e6e8e4a0df99afa076a8b448
Subnet Cache hashtable improvements

 - inline & staticly allocated hash table
 - increased hashtable size (32bit: 1024, 64bit: 65536)
 - re-arrange subnet members
 - Add key type
 - reduce clearing of hash table
 - cleanup key pointer operations
 - removed unused hash_search_or_insert
 - add open addressing to hash table
 - type specific hash functions & hash seeding
 - no collisions for 32bit os
 - implement cache flush by SUBNET_MAC
src/Makefile.am
src/graph.c
src/hash.c [deleted file]
src/hash.h
src/subnet.c
src/subnet.h
src/system.h