Changes

Jump to navigation Jump to search
22 bytes added ,  14:25, 13 July 2020
In many cases, the amount of data to be processed is only known after the query has been compiled. Moreover, the data that is looped through expressions may change.
If sequences of items are compared against each other, a dynamic hash index will be generated, and the total number of comparisons can be significantly reduced. In the following example, <code>count($input1) * count($input2)</code> comparisons would need to be made without the intermediate indexstructure:
<syntaxhighlight lang="xquery">
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu