[whatwg] API for encoding/decoding ArrayBuffers into text

Jonas Sicking jonas at sicking.cc
Sun Apr 1 15:28:19 PDT 2012


On Sat, Mar 31, 2012 at 6:13 PM, Glenn Maynard <glenn at zewt.org> wrote:
> On Wed, Mar 28, 2012 at 1:44 AM, Jonas Sicking <jonas at sicking.cc> wrote:
>>
>> Scanning over the buffer twice will cause a lot more memory IO and
>> will definitely be slower.
>
> That's what cache is for.  But: benchmarks...
>
>> We can argue weather it's meaningfully slower or harder. But it seems
>> like we agree that it's slower and harder.

I'm saying that if an API is better in every way then it doesn't seem
like an interesting discussion how much better, we should clearly go
with that API.

/ Jonas


More information about the whatwg mailing list