ブックマーク / en.wikipedia.org (1)

  • Timsort - Wikipedia

    Timsort is a hybrid, stable sorting algorithm, derived from merge sort and insertion sort, designed to perform well on many kinds of real-world data. It was implemented by Tim Peters in 2002 for use in the Python programming language. The algorithm finds subsequences of the data that are already ordered (runs) and uses them to sort the remainder more efficiently. This is done by merging runs until

    Timsort - Wikipedia
    dmutaguchi
    dmutaguchi 2011/10/19
    安定ソートでかつクイックソートより効率がいいらしい。元々ソートされてる部分を利用するのがポイント?PythonやJava SE7で採用。あとでよむ?
  • 1