Introspective sorting and selection revisited
We describe two improvements to introspective sorting and selection algorithms: a simple rule for fine‐grained introspection that detects potential worst‐case performance after only a small constant number of partitioning steps, and the use of remedial randomization as an intervention strategy in or...
Gespeichert in:
Veröffentlicht in: | Software, practice & experience practice & experience, 2000-05, Vol.30 (6), p.617-638 |
---|---|
1. Verfasser: | |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | We describe two improvements to introspective sorting and selection algorithms: a simple rule for fine‐grained introspection that detects potential worst‐case performance after only a small constant number of partitioning steps, and the use of remedial randomization as an intervention strategy in order to reduce the performance penalty for false positives. We present experimental results showing that these techniques provide significant improvements in the running time for worst‐case and other troublesome inputs, without sacrificing performance on well‐behaved inputs. Copyright © 2000 John Wiley & Sons, Ltd. |
---|---|
ISSN: | 0038-0644 1097-024X |
DOI: | 10.1002/(SICI)1097-024X(200005)30:6<617::AID-SPE311>3.0.CO;2-A |