Efficient radix sorting system employing a dynamic branch table
AssigneeInternational Business Machines Corporation
InventorsPaul K. Lee, Zvi Y. Yehudai
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsPaul K. Lee, Zvi Y. Yehudai
Estimating the term…
In a recursive distributive sort of records according to their key fields, a method for distributing keys to form one or more subgroups and collecting them to preserve or maintain an order among the subgroups. The distribution is accomplished by comparing each key field against an extrinsic attribute and then assigning the key to a subgroup or bucket. The collection sequence preserves the overall key field order. A Dynamic Branching Table (DBT) for governing the ordering of buckets during the collection phase is initially populated with NO-OP instructions. During the distribution phase, a CALL instruction replaces the NO-OP in the sorted order DBT position upon the first occurrence of a distinguishable character in the key character sequence being scanned. An address pointer, pointing to the corresponding bucket, is then inserted in a Bucket Pointer Table (BPT) indexed to the DBT. During the collection phase, the DBT is executed and the empty buckets are skipped by NO-OP execution, while the populated buckets are processed by subroutine CALL execution.
In a computer-implemented method for distributively sorting a plurality of records by their key fields, said method including steps of recursively distributing and collecting said key fields, each recursion including the steps of (a) comparing each key field against an extrinsic attribute and assigning the key to a same-attribute subgroup, and (b) collecting the subgroups to create an interim or final key order, said recursions being repeated for all subgroups having more than one key field element, the location of all of said subgroups being maintained in a bucket address table of link-listed keys or pointers, wherein the improvement comprises the steps of:
A computer-implemented method for sorting records, said records having a least one key field controlling the sort ordering, said key field having one or more bytes of unique rank, each said byte having a value and all said bytes having the same radix, said method comprising the unordered steps of:
In a bucket sorting method for computing equipment wherein keys, each formed by a plurality of characters, are ordered by successive iterations of processing into any of a number R of buckets, the steps comprising:
Dependencies are inferred from the claim text.