]> git.ipfire.org Git - thirdparty/bird.git/commit
Assert that hash table is not being modified during HASH_WALK ip-assert-hash-walk 43/head
authorIgor Putovny <igor.putovny@nic.cz>
Wed, 11 Jun 2025 15:44:38 +0000 (17:44 +0200)
committerIgor Putovny <igor.putovny@nic.cz>
Mon, 16 Jun 2025 11:02:40 +0000 (13:02 +0200)
commit07045b58058b3066e2acc2a4d5efbb4f0bf4b1b1
tree515c7a7122aeebb4f3dae4946e00482d0148c846
parentcc2543a04f10ccc91dc6f27d157414acd80b3850
Assert that hash table is not being modified during HASH_WALK

According to measurements of hash_test, hash table with this assertion added
was not found to be significantly slower than without it on average. Therefore
we conclude that this addition would not hamper the performance of HASH_WALK.
lib/hash.h