- From: <bugzilla@jessica.w3.org>
- Date: Wed, 18 Jun 2014 03:52:38 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23369 --- 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