Subject: Re: which is more effiecient and fast doc() or collection()
From: Mario Madunic <hajduk@xxxxxxxx>
Date: Thu, 26 Jun 2008 08:01:48 -0700
|
Andrew,
Wow, thanks for the heads up on that function, that is useful info.
Marijan (Mario) Madunic
Quoting 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....
>
>
>
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/
|