W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > June 2008

Re: RDFa worst case memory usage for SAX-based parsers the same as DOM-based parsers

From: Ben Adida <ben@adida.net>
Date: Wed, 11 Jun 2008 12:22:34 -0700
Message-ID: <485025FA.8070509@adida.net>
To: Manu Sporny <msporny@digitalbazaar.com>
CC: Mark Birbeck <mark.birbeck@webbackplane.com>, RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>, David Longley <dlongley@digitalbazaar.com>

Manu Sporny wrote:
> That should fix the issue. The worst case is still the same as the DOM
> case, but that's only if somebody decides to put @property on the <body>
> element.

And that's the case where the actual literal that you need to output is 
itself large. Your memory usage grows only as big as the size of your 
triplestore. So I think that's an acceptable "worst case".

I can't say this enough: very nice work on optimizing!

-Ben
Received on Wednesday, 11 June 2008 19:23:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 11 June 2008 19:23:11 GMT