Project

Profile

Help

compile queries

Added by Anonymous about 20 years ago

Legacy ID: #2837836 Legacy Poster: bob munger (bobmunger)

is there a way i can precompile and save my xqueries? if the following objects could be serialized, i could encapsulate a compiled query and serialize it for later use: Configuration (yes) DynamicQueryContext (no) Properties (yes) StaticQueryContext (no) XQueryExpression (no) these classes depend on a bunch of other classes. some (like SlotManager) are serializable (for 'pre-compiled' xslt?). thanks, bob


Replies (1)

RE: compile queries - Added by Anonymous about 20 years ago

Legacy ID: #2837874 Legacy Poster: Michael Kay (mhkay)

Serialization of compiled Queries isn't currently supported. There's no good reason why it shouldn't be done (in the same way as for XSLT), it's just one more thing to do and the benefits are fairly marginal. What's really needed here is separate compilation of query modules, and that's much more difficult. Michael Kay

    (1-1/1)

    Please register to reply