Subject: Re: which is more effiecient and fast doc() or collection()
From: Mario Madunic <hajduk@xxxxxxxx>
Date: Thu, 26 Jun 2008 08:02:35 -0700
|
I second that!
Quoting Andrew Welch <andrew.j.welch@xxxxxxxxx>:
> 2008/6/26 Andrew Welch <andrew.j.welch@xxxxxxxxx>:
> >> I know we are only talking milliseconds here and what I'm currently
> working on
> >> is just over 100 docs. But when it comes down to the other projects I work
> on
> >> and it is now 10's of thousands if not 100's of thousands of docs then
> >> efficiency might come into play.
> >
> > Won't memory come into play first - unless you use something like
> > saxon:discard-document() those 100s of thousands of docs will all be
> > held in memory....
>
> I should add this would be another ideal case for an xslt front end to
> an xml database....
>
>
>
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/
|