mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-16 06:52:58 +00:00
fix intfilter expansion logic
also makes it simpler and probably faster. someone should contrib non-gnuc popcount if they care, i ran out of patience with this (yes i know it's simple) (it probably doesn't even need to be exactly popcount).
This commit is contained in:
parent
68a06c4ced
commit
f43c3b021e
2 changed files with 57 additions and 93 deletions
|
@ -5,6 +5,7 @@ static inline size_t S(filter_len)(size_t i)
|
|||
# ifndef OMITMASK
|
||||
const u8 *m = (const u8 *)&VEC_BUF(filters,i).m;
|
||||
# else // OMITMASK
|
||||
(void) i;
|
||||
const u8 *m = (const u8 *)&ifiltermask;
|
||||
# endif // OMITMASK
|
||||
size_t c = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue