don't inline groups_lt

This commit is contained in:
dzaima 2023-05-08 14:21:39 +03:00
parent 300d217ee8
commit 0f2ef4384c

View File

@ -309,7 +309,7 @@ static B where(B x, usz xia, u64 s) {
}
// Is the number of values switches in w at most max?
static bool groups_lt(u64* wp, usz len, usz max) {
static NOINLINE bool groups_lt(u64* wp, usz len, usz max) {
usz r = 0;
u64 prev = 0;
usz l = (len-1)/64+1; // assume trailing bits are zeroed out