Yes. What I am looking into is creating a binary version of the document (i.e. DOM including all rendering information). That way, when viewing the content, I can skip the parse step and just put the DOM into memory and start the layout.
Time wash question?
So I am trying to save time loading the doc. So my question is if there is a way to create a binary representation of the DOM with all the needed info (content and rendering), will the time saved skipping the parse step be substantial (if any at all) over reading a file which has a binary representation of the DOM, resurrecting the in-memory DOM and starting the layout process.
Thanks!
Chris
On Jan 22, 2010, at 9:12 AM, Adam Treat wrote:You’re right. I was wrong.
> Correct me if I'm wrong, but he said without re-parsing. The WebArchive definitely needs to be reparsed, right?
I guess the idea boils down to inventing a new serialization for HTML besides HTML and XHTML, a binary one that would be more efficient in some way.
-- Darin