vppinfra: delay bucket2 calc in cuckoo search 31/26531/3
authorDamjan Marion <damarion@cisco.com>
Wed, 15 Apr 2020 17:44:17 +0000 (19:44 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 15 Apr 2020 19:34:03 +0000 (19:34 +0000)
commit88bcba80d5328fa2b3191fab4ffdd396d69937f1
tree886acc15fe0cbf5f585efbce324539d1c23b6f8b
parent7edc86d005d7051341d380fba2b1fe4bc7dd016e
vppinfra: delay bucket2 calc in cuckoo search

There is no need to calculate bucket2 if there is hit on bucket1

Type: improvement
Change-Id: Id01c37963497668c0160068501294568a181d011
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vppinfra/cuckoo_template.h