On Wed, May 18, 2022 at 12:50:48PM +0300, Henrik K wrote: > > I think mine might use more memory as it's handling the bits as a string.. > but it's faster. :-D
Now that I look at MIME::Base32, it does the same unpack "B*" to a string of bits, so it uses even the same amount of memory. Rest of the code looks unnecessarily complicated compared to just looking up the bits from hash table.