On 9/28/10 9:25 AM, Anne van Kesteren wrote:
On Tue, 28 Sep 2010 14:37:30 +0200, Boris Zbarsky <[email protected]> wrote:
I'm not sure. But you could just lazily construct the data based on what
the author requests. If there are no use cases it is unlikely they will
use both.
You can't lazily construct the original byte stream from the
responseText, fwiw.
I guess that fails for invalid characters, indeed. Though presumably
they might be somewhere still if it is being cached?
I did consider mentioning that the original byte stream can be stored on
disk, yeah. At least if memory is tight. But then again, I'm not sure
what the persistent storage situation actually looks like nowadays on
devices with small memories.
-Boris