in reply to Compress positive integers

Had you posted a link to the pdf describing the algorithm and it's performance advantages, you might not be coping the flack and "you don't wanna be doing that"s, that you're getting.

With regard to the algorithm, you will not realise those performance benefits if you code this in Perl.

With regard to your problem:

Answer those questions and we may be able to help you.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."