- From: Alexey Proskuryakov <ap@webkit.org>
- Date: Mon, 25 Oct 2010 15:42:23 -0700
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: Chris Rogers <crogers@google.com>, Web Applications Working Group WG <public-webapps@w3.org>, Anne van Kesteren <annevk@opera.com>, Eric Uhrhane <ericu@google.com>, michaeln@google.com, Darin Fisher <darin@google.com>, Chris Marrin <cmarrin@apple.com>, Geoffrey Garen <ggaren@apple.com>, jorlow@google.com
25.10.2010, в 15:33, Boris Zbarsky написал(а): >> People are concerned that it would require keeping two copies of the >> data around (raw bytes, and unicode text version) since it's unknown >> up-front whether "responseText", or "responseArrayBuffer" will be >> accessed. > > Note that Gecko does exactly that, and we've seen no problems with it... It's very rare to have really large XHR bodies, for what it's worth. That may become more common when people start downloading arbitrary files, and storing them to disk with FileWriter. But even years ago, we've been getting performance bugs forcing us to ensure responseText didn't have to be copied for JavaScript access. - WBR, Alexey Proskuryakov
Received on Monday, 25 October 2010 22:42:56 UTC