in reply to Run length encode a bit vector
What happens if you use zip or tar or bzip2 to compress the files right now? These “off the shelf” algorithms use compression techniques such as these, and more, and .. who knows .. might they be sufficient as-is for this task?
In Section
Seekers of Perl Wisdom