From: Tobias Brunner Date: Mon, 20 Jul 2020 12:01:22 +0000 (+0200) Subject: Merge branch 'ordered-hashtable' X-Git-Tag: 5.9.0rc1~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd7505af3e3e54810dabec7f48bed2e6a606e447;p=thirdparty%2Fstrongswan.git Merge branch 'ordered-hashtable' This changes the hashtable implementation to that it maintains insertion order. This is then used in the vici plugin to store connections in a hash table instead of a linked list, which makes managing them quite a bit faster if there are lots of connections. The old implementation is extracted into a new class (hashlist_t), which optionally supports sorting keys and provides the previous get_match() function. --- dd7505af3e3e54810dabec7f48bed2e6a606e447