×

System and method for sorting data in a computer system using edge buckets for key values having a maximum and minimum range within a subinterval

  • US 5,729,732 A
  • Filed: 05/25/1995
  • Issued: 03/17/1998
  • Est. Priority Date: 09/03/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for operating a computer having a processor and memory to sort a set of data records stored in the memory each record having an associated key for governing the sort process, the method comprising the steps performed by the computer of:

  • (a) determining a calculated minimum and maximum for the key values by sampling the key values;

    (b) defining a plurality of buckets, each bucket corresponding to a respective one of a plurality M of subintervals between the calculated minimum and maximum, and two edge buckets for key values outside the range, each subinterval having a respective index;

    (c) distributing the keys among the buckets by determining directly from each key value, the index of the subinterval into which the key value falls; and

    (d) processing the buckets in sequence in order to sort the records, sorting the keys in each bucket when the bucket contains more than one key.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×