Hi Rob,
modules that are parsed with fn:load-xquery-modules and with the same (and a single) "location-hints" option are now cached and reused. An updated snapshot is available; your feedback is welcome [1].
Best, Christian
[1] https://files.basex.org/releases/latest/
Von: "Rob Stapper via BaseX-Talk" basex-talk@mailman.uni-konstanz.de An: "basex-talk@mailman.uni-konstanz.de" basex-talk@mailman.uni-konstanz.de Betreff: [basex-talk] load-xquery-module
Hi Christian,
I'm experimenting with dynamic modul loading using: 'load-xquery-module'. I have a few questions concerning this function:
- Does this function cache the loaded modul like "import module" does? If I interpret the profiling data correcty, it does not. If so is it possible to also cache dynamicly loaded modules?
- "location-hints" of this function accepts a set of locations. It seems that all these locations must contain a module with the given modul-uri. I would expect the one would be sufficient. What is the idea behind this locationset?
Thanx in advance for your response.
mvgr. Rob Stapper