Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
1105600
)
vppinfra: use count_trailing_zeros in sparse_vec_index
23/12523/3
author
Damjan Marion
<damarion@cisco.com>
Thu, 10 May 2018 11:40:44 +0000
(13:40 +0200)
committer
Dave Barach
<openvpp@barachs.net>
Thu, 10 May 2018 17:16:56 +0000
(17:16 +0000)
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 <damarion@cisco.com>
No differences found