Brothersoft.com Windows | Mac | Mobile | Games | Ask

Merge sorted sequences 1.1

New take on merging. Uses Python's "timsort" to merge in O(n) time.

Last Week downloads: 0
Total downloads: 8
  • Last Updated: Feb 2, 2010
  • License: Open Source Free
  • OS: Windows /Linux/Mac OS/BSD/Solaris
  • Requirements: No special requirements
screenshot

User reviews

0 out of 5 based on 0 ratings for Merge sorted sequences 1.1

For Merge sorted sequences 1.1Publisher's description

Brothersoft Editor: New take on merging. Uses Python's "timsort" to merge in O(n) time.



The usual approach to merging is to loop through both sequences taking the smallest from each until they are both exhausted.

Python's "timsort" detects order in underlying sequences and will run a C speed merge on the data. So, all that is involved is concatenating the sequences and running a sort.

Do not use this approach with other sorts. Most will not Detect the underlying order and will run in O(n log n) time.

This approach has other advantages too. This function will detect and correct input sequences that are out of order. Also, Python 2.4's sorted() takes arguments for "reversed" and "key" for customing the sort order and for encapulating the decorate-sort-undecorate pattern. Building these features into the usual merge Algorithm takes quite a bit of code and does not run as quickly.
you can free download Merge sorted sequences 1.1 now.

For Merge sorted sequences 1.1Related Software

Statement

Please be aware that Brothersoft do not supply any crack, patches, serial numbers or keygen for Merge sorted sequences,and please consult directly with program authors for any problem with Merge sorted sequences.