×

Multi-threaded sort of data items in spreadsheet tables

  • US 8,527,866 B2
  • Filed: 04/30/2010
  • Issued: 09/03/2013
  • Est. Priority Date: 04/30/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • dividing data items in a spreadsheet table into a plurality of blocks;

    using multiple threads to sort the data items in the blocks;

    after the data items in the blocks are sorted, using, by a computing system, multiple merge threads to generate a final result block, the final result block containing each of the data items in the spreadsheet table, each of the merge threads being a thread that merges two source blocks to generate a result block, each of the source blocks being either one of the sorted blocks or one of the result blocks generated by another one of the merge threads;

    displaying a sorted version of the spreadsheet table, data items in the sorted version of the spreadsheet table being ordered according to an order of the data items in the final result block; and

    determining an appropriate number of blocks based on a minimum job size and the number of processing units in a processing system, the appropriate number of blocks being equal to a number of rows in the spreadsheet table divided by the minimum job size rounded down when the number of rows divided by the minimum job size is less than or equal to a number of processing units in the computing system.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×