W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2014

[Bug 23369] Provide hooks for Typed Arrays (ArrayBuffer and friends)

From: <bugzilla@jessica.w3.org>
Date: Wed, 18 Jun 2014 03:52:38 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23369-3890-PTRXIGObCI@http.www.w3.org/Bugs/Public/>

--- Comment #28 from Boris Zbarsky <bzbarsky@mit.edu> ---
> Every good ES programmer understands these things.

My (admittedly biased, since it's based on bug reports) sample of web site code
suggests that many web site programmers are not good ES programmers,
unfortunately.  :(

> "It would not be practical to implement copy-on-write for array buffers"

For large enough ones, if they're page-aligned (as large allocations tend to
be), it might in fact be doable, albeit complex, with mprotect.  Whether doing
an mprotect is faster than a memcpy is an interesting question, of course.... 
would need to measure.  For small (sub-page) buffers, copying is
correspondingly cheaper, of course.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 18 June 2014 03:52:39 UTC

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