Re: [xslt] minimizing memory usage with RVTs
- From: Daniel Veillard <veillard redhat com>
- To: thevakoc-xml yahoo com, The Gnome XSLT library mailing-list <xslt gnome org>
- Cc:
- Subject: Re: [xslt] minimizing memory usage with RVTs
- Date: Tue, 9 Nov 2004 16:52:37 -0500
On Tue, Nov 09, 2004 at 10:45:45AM -0800, Mark Vakoc wrote:
>
> [sorry, accidently sent the message early, still working on the patch...]
>
> > I submit this patch for inspection. The goal is to increase the granularity
> > for freeing RVTs created by freeing any RVTs created within a xslt:for-each
> > element.
I see what you mean, and it may make sense though it would probably be
low impact for most use case. But if you're looping and building big
RVT in each iteration, yes this may make a lot of sense. Keeping a cache
like in the xmlreader to avoid global memory access on most allocations and
frees might be another worthwile but quite harder optimization. Note that
the latests versions should garantee that all names are allocated from the
dictionnaries, in itself this may make a big change.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]