in reply to Re: Run length encode a bit vector
in thread Run length encode a bit vector
Yes. I miscounted.
-- As well as that, you seem to be parsing your data with the low-order bit first in each byte even though you have packed in network order.
Actually irrelevant as it is just sample data. The actual vector to be compressed is built with vec(), so 'b' is the right template.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Run length encode a bit vector
by AnomalousMonk (Archbishop) on Jan 05, 2012 at 13:53 UTC | |
by Anonymous Monk on Jan 05, 2012 at 14:28 UTC |