因此,当与嵌套循环联接比较时,合并扫描联接可能对于排序输入产生成本。
So when compared to a nested loop join, the merge scan join may incur the cost for sorting the inputs.
应用程序会将这些订单与制造规则和客户已安装硬件库加以比较,从而进行排序和确定优先级。
The application sorts and prioritizes these orders, comparing them against manufacturing rules and the customer's installed hardware base.
比如,compare方法比较两个字符串;sort和asort方法以与相应的php数组函数相同的方式对数组或关联数组进行排序。
For example, the compare method compares two strings; the sort and asort methods sort arrays or associative arrays in a way similar to the corresponding PHP array functions.
Selection sort too really reduces to a total number of comparisons because I'm again comparing the current smallest to the next thing I see, the next thing, so really a lot of these sorting algorithms boil down to comparisons and the numbers that you actually have to make.
选择排序也可归纳为总数的比较,因为要将当前最小者与下一个进行比较,接着再下一个,可见,很多排序算法都可归结为比较,以及需要比较的次数。
应用推荐