BaseX GUI. I start with it all the times.
Il giorno 17 mar 2017, alle ore 17:36, Christian Grün christian.gruen@gmail.com ha scritto:
I was wondering whether there may be a performance difference between using an explicit element constructor (e.g, <s>{$a/s/data(.)}</s>) and adding an element already contained in the document ($a/s, which evaluates to the same element as the above). Thanks.
In both cases, nodes will need to be duplicated (due to the memory consuming semantics of the XQuery specification), so there should be no big difference.
As you have observed (if I got you right) that only one of your queries is getting out of memory, you may need to provide us with both queries.
Are you working with the BaseX GUI, on command-line, or with any other API?