logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Template recursion, StackOverflowError, saxon:while a nd variable assig: msg#00101

Subject: Re: Template recursion, StackOverflowError, saxon:while a nd variable assignability
Thanks. I will try this when there's time.

Cheers,
Dimitre

On 6/17/05, Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/w@xxxxxxxxxxxxxxxx> wrote:
> > If I understand well, this means that with the virtual copy
> > optimization performing N "assignments" will require only
> >
> >         O(N) total space
> >    vs
> >        O(N^2) total space without the optimization.
> >
> >
> > Is this right, Mike?
> >
> 
> I think on reflection that the virtual copy mechanism won't be invoked in
> your example: copy-of will only result in a virtual copy if the node created
> is not being attached as a child to another node. The original node can have
> a parent, but the copy can't.
> 
> I suspect you would actually get better performance by doing a copy that
> excludes the value being "updated". The extra filtering cost would be more
> than compensated by the fact that the size of the environment doesn't
> continually increase.
> 
> Michael Kay
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> saxon-help mailing list
> saxon-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/saxon-help
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click


<Prev in Thread] Current Thread [Next in Thread>