[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Faster base64 -d
From: |
Bob Proulx |
Subject: |
Re: Faster base64 -d |
Date: |
Sun, 7 Apr 2013 22:30:46 -0600 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Jim Meyering wrote:
> Ole Tange wrote:
> > I was astonished to learn that:
> > perl -MMIME::Base64 -e 'while(read(STDIN,$buf,770*50)){print
> > decode_base64($buf)}'
> > is faster than:
> > base64 -d
> > ...
>
> Thanks for raising the issue.
> I confirm the perl-based version takes less than 50% of base64 -d's
> elapsed time on an old 2GHz celeron, e.g., running these:
> ...
> Patches most welcome.
This does seem surprising. This seems appropriate to open as a ticket
in the defect tracker so that the issue isn't lost.
Ole, Would you like to open a ticket in the BTS about this issue?
(Mail to address@hidden.) You may reference this thread to tie
it back to this discussion.
http://lists.gnu.org/archive/html/coreutils/2013-04/msg00023.html
Thanks,
Bob