Dear Jean-Marc,

I fixed the bug, thank you for reporting it. You can get the current snapshot here: http://files.basex.org/releases/latest/

Am 22.11.2013 15:06, schrieb jean-marc Mercier:
Thx very much for your workaround. I did not succeed using the GUI and
executing »SET INLINELIMIT 0«.

That only sets the setting for the current GUI session, not permanently.

- Edit the file .basex, adding the line "INLINELIMIT = 0" after #Local
Options. I would prefer this method, would you have no objection.

It should be fine, but globally disables all inlining of functions. So just remember to remove it after you have a fixed version of BaseX.

I am not sure to understand well this parameter. Does it means that it
is possible to inline function in XQUERY ? This is quite close to
template mechanism programming !

BaseX inlines all functions (static ones and function items) that are
 * not recursive (or, for function items, don't contain themself), and
 * below a certain size, which can be changed through the `INLINELIIT`.

This means that introducing abstraction by encapsulating code in many small functions should have little to no runtime overhead. Together with higher-order functions, this makes quite general and abstract libraries feasible.

Cheers, Leo
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to