[phobos] std.base64 replacement

Daniel Murphy yebblies at gmail.com
Thu Oct 14 02:04:11 PDT 2010


On Thu, Oct 14, 2010 at 6:57 AM, Sean Kelly <sean at invisibleduck.org> wrote:
>
> >
> > To tell a truth, I've tried creating decorator ranges for character code
> > conversion and zlib decompression, and both required internal caching.
> > I think it's a limitation of the decorator design.
>
> I'd thought so too.  zlib in particular has this issue--the quality of
> compression is directly related to the buffer size.
>
> Maybe the possibilities are more limited than I assumed.  Now that I think
about it I see using a position variable only works when the output is in
the same order as the input.
So you would be able to do rle or splitting data into parts, but not a whole
bunch of other algorithms.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20101014/5cfc3167/attachment.html>


More information about the phobos mailing list