Changes

Jump to navigation Jump to search
70 bytes added ,  18:10, 13 July 2020
==Comparisons==
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. In those cases, the best optimizations needs to be chosen at runtime.
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 index structure:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu