I have finally added an issue to support caching for load-xquery-module; we’ll see what we can do [1].
Von: Gunther Rademacher via BaseX-Talk <basex-talk@mailman.uni-konstanz.de>
Gesendet: Montag, 15. September 2025 11:45
An: r.stapper@lijbrandt.nl <r.stapper@lijbrandt.nl>; basex-talk@mailman.uni-konstanz.de <basex-talk@mailman.uni-konstanz.de>
Betreff: [basex-talk] Re: load-xquery-module
Gesendet: Donnerstag, 11. September 2025 um 17:24
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