[phobos] std.base64 replacement
Masahiro Nakagawa
repeatedly at gmail.com
Mon Oct 25 03:25:12 PDT 2010
I replace std.base64 with this module in two days.
Masahiro
2010年10月21日6:36 Masahiro Nakagawa <repeatedly at gmail.com>:
> On Thu, 14 Oct 2010 17:21:38 +0900, Daniel Murphy <yebblies at gmail.com>
> wrote:
>
> On Thu, Oct 14, 2010 at 4:59 AM, Masahiro Nakagawa <repeatedly at gmail.com
>> >wrote:
>>
>> I wait no-caching implementation. I think Range should not have useless
>>> state.
>>> In addition, current implementation seems to be still more complex than
>>> necessary.
>>>
>>>
>>>
>>> I thought you might say that.
>> http://yebblies.com/rangebase64nocache.d
>> These ranges only read the bits that they actually need off the input,
>> only
>> converting one output item per popFront. I don't consider this a better
>> solution. I haven't adapted length to work with this version, but I will
>> if
>> this implementation is actually going to be used.
>>
>
> I merged Daniel's code and encode(decode) can take InputRange that has
> length property.
>
>
> http://bitbucket.org/repeatedly/scrap/src/tip/base64.d
>
> Please check the code.
>
>
> Masahiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20101025/75f43ca6/attachment-0001.html>
More information about the phobos
mailing list