W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 23369] Provide hooks for Typed Arrays

From: <bugzilla@jessica.w3.org>
Date: Thu, 26 Sep 2013 18:55:23 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23369-3890-yN1rDPMpLI@http.www.w3.org/Bugs/Public/>

--- Comment #8 from Jonas Sicking <jonas@sicking.cc> ---
I think it depends on what the API does with the passed in function.

For example in bug 23332 we want to do a binary sort of two "byte sequences".
In that case accepting two Float64Arrays, but then not comparing them
float-by-float feels very unintuitive. So either we should not accept
Float64Arrays, or we should compare them according as floats.

For something like WebSocket it seems more ok to accept a Float64Array and then
simply treat it as a binary blob since all we are doing is streaming it over
the wire. Likewise with something like a file-writing API as well as the Blob

You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 26 September 2013 18:55:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:18 UTC