chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] current base64 on chicken 3 incorrect?


From: Jim Ursetto
Subject: Re: [Chicken-users] current base64 on chicken 3 incorrect?
Date: Tue, 14 Apr 2009 12:05:18 -0500

On Sun, Nov 2, 2008 at 6:57 PM, felix winkelmann <address@hidden> wrote:
> On Fri, Oct 31, 2008 at 2:51 PM, Graham Fawcett
> <address@hidden> wrote:
>> Hi folks,
>>
>> The current "base64" egg for Chicken 3 builds, but gives me incorrect
>> results. The non-working version is by Bailey, ported by Felix. (I
>> found an older version in Scheme by Felix that works correctly.)

> No, the C version by Bailey was ported by Zbigniew. Thanks for noticing
> it, Graham, but don't expect a fix any time soon.

Hello,

This was originally rewritten in C for a speed boost--the Scheme
implementation was about 16x slower (9x in unsafe mode).  However, I
have now reimplemented it in nearly pure R5RS Scheme, and the
performance is on par with C.  It skips invalid input to better
conform to the standard, and it has a test suite so hopefully we won't
experience any more issues.

This change is only in Chicken 4.

Jim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]