Invoking a main module is generally better style. One advantage is it lets the server use its module cache. That can be important for short-running queries where the parsing time might be noticeable.
-jh- On May 31, 2010, at 3:07 PM, Bob Runstein wrote: > > When executing queries via XCC is there a benefit to invoking a module to > call a function library as opposed to using an ad hoc query to call the > library directly? I believe I was once told that using a module is a better > approach so that the compiler does not have to reparse on each different set > of values. Is this correct? > > Bob > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
