Powersort
Sorting algorithm
Powersort is an adaptive sorting algorithm designed to optimally exploit existing order in the input data with minimal overhead. Powersort is the default list-sorting algorithm in CPython since version 3.11 and is also used in NumPy, PyPy, AssemblyScript, and Apple's WebKit.
Nº Q136399159 ★
Commune · Savoirs
Powersort
Sorting algorithm
Powersort is an adaptive sorting algorithm designed to optimally exploit existing order in the input data with minimal overhead. Powersort is the default list-sorting algorithm in CPython since version 3.11 and is also used in NumPy, PyPy, AssemblyScript, and Apple's WebKit.
Sur Wikipédia
Texte en anglais Pas encore d'article dans ta langue : extrait en anglais.
Powersort is an adaptive sorting algorithm designed to optimally exploit existing order in the input data with minimal overhead. Powersort is the default list-sorting algorithm in CPython since version 3.11 and is also used in NumPy, PyPy, AssemblyScript, and Apple's WebKit. Powersort belongs to the family of merge sort algorithms. More specifically, Powersort builds on Timsort; it is a drop-in replacement for Timsort's suboptimal heuristic merge policy. Unlike Timsort, Powersort is derived from first principles (see connection to nearly optimal binary search trees) and offers strong performance guarantees. Like Timsort, Powersort is stable and comparison-based. This property is essential for many applications. Powersort was proposed by J. Ian Munro and Sebastian Wild.
Texte : Wikipédia en anglais, CC BY-SA 4.0. ·
Cartes voisines
-
Tri arborescent
Algorithme de tri
Nº Q863521 ★
Pas en vente
-
T
Timsort
Algorithme de tri
Nº Q942403 ★★★
Pas en vente
-
Tri rapide
Algorithme de tri
Nº Q486598 ★★★★
Pas en vente
-
Tri par sélection
Algorithme de tri
Nº Q220831 ★★
Pas en vente
-
M
Méthode de la puissance itérée
Méthode itérative de calcul de la plus grande valeur propre d'une matrice
Nº Q1426504 ★
Pas en vente
-
Quickselect
Nº Q3927837 ★
Pas en vente