From: Damjan Marion Date: Thu, 10 May 2018 11:40:44 +0000 (+0200) Subject: vppinfra: use count_trailing_zeros in sparse_vec_index X-Git-Tag: v18.07-rc1~356 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=1105600416e0560cb05120a22e0a2e7359a13665;hp=1105600416e0560cb05120a22e0a2e7359a13665;p=vpp.git vppinfra: use count_trailing_zeros in sparse_vec_index It is much cheaper to use ctzll than to do shift,subtract and mask in likely case when we are looking for 1st set bit in the uword. Change-Id: I31954081571978878c7098bafad0c85a91755fa2 Signed-off-by: Damjan Marion ---