Remove boolean Compress overallocation: not needed with w masked off
This commit is contained in:
parent
e09d385df5
commit
7767cf933f
@ -441,7 +441,7 @@ static B compress(B w, B x, usz wia, u8 xl, u8 xt) {
|
|||||||
case 0: {
|
case 0: {
|
||||||
u64* xp = bitarr_ptr(x); u64* rp;
|
u64* xp = bitarr_ptr(x); u64* rp;
|
||||||
#if defined(__BMI2__) || SINGELI
|
#if defined(__BMI2__) || SINGELI
|
||||||
r = m_bitarrv(&rp,wsum+128); a(r)->ia = wsum;
|
r = m_bitarrv(&rp,wsum);
|
||||||
u64 cw = 0; // current word
|
u64 cw = 0; // current word
|
||||||
u64 ro = 0; // offset in word where next bit should be written; never 64
|
u64 ro = 0; // offset in word where next bit should be written; never 64
|
||||||
for (usz i=0; i<BIT_N(wia); i++) {
|
for (usz i=0; i<BIT_N(wia); i++) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user