Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -6,13 +6,13 @@ siftDown: function [items, start, ending][
|
|||
if and? ending > child + 1
|
||||
a\[child+1] > a\[child] -> child: child + 1
|
||||
|
||||
if? a\[root] < a\[child][
|
||||
switch a\[root] < a\[child][
|
||||
tmp: a\[child]
|
||||
a\[child]: a\[root]
|
||||
a\[root]: tmp
|
||||
root: child
|
||||
]
|
||||
else -> return a
|
||||
-> return a
|
||||
]
|
||||
return a
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue