Patent ID: 11954093
Assignee: ALIBABA GROUP HOLDING LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. The computer processing unit according to claim 4, wherein when the given principle comprises selecting a maximum data element among the first parent data element, the first child data element, and the second child data element, in updating a non-leaf node, the first child node, and the second child node, the first comparison circuitry is further configured for:
determining whether the first child data element is the maximum data element, and
in response to the determination that the first child data element is the maximum data element, swapping the first child data element and the first parent data element between the first parent node and the first child node; or
determining whether the second child data element is the maximum data element, and
in response to the determination that the second child data element is the maximum data element, swapping the second child data element and the first parent data element between the first parent node and the second child node.