etc/lib.c
// align capcaity to power of 2
align capcaity to power of 2
align capcaity to power of 2
i64 new_to_cap (i64 rax) {
	rax -= 1;
	rax |= rax >> 1;
	rax |= rax >> 2;
	rax |= rax >> 4;
	rax |= rax >> 8;
	rax |= rax >> 16;
	rax += 1;
	return rax;
}
i64 new_to_cap ( i64 rax ) { rax -= 1 ; rax |= rax >> 1 ; rax |= rax >> 2 ; rax |= rax >> 4 ; rax |= rax >> 8 ; rax |= rax >> 16 ; rax += 1 ; return rax ; }
align capcaity to power of 2
align capcaity to power of 2