Many optimizations in BaseX
are restricted to ''deterministic'' expressions ( which always yield the same output and do not have any side effects). By flagging an expression as non-deterministic, optimizations and query rewritings can be suppressed:
This pragma can
e. g. be helpful when debugging your code.