From: Mathew Heard Date: Tue, 29 Jun 2021 01:27:24 +0000 (+1000) Subject: Subnet Cache hashtable improvements X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=9a018c2e371eb1cef9708ac71653f2f2868895fa;hp=9a018c2e371eb1cef9708ac71653f2f2868895fa;p=tinc 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 ---