]> 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>
Fri, 19 Sep 2025 12:58:29 +0000 (14:58 +0200)
commita620cf7c8c43b0185395262d6c853372b93cd800
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 on average to be significantly slower than without it. Therefore
we conclude that this addition would not hamper the performance of HASH_WALK.
lib/hash.h