• Login
    View Item 
    •   Home
    • Lecture Papers (LP)
    • LP - International Published Articles
    • View Item
    •   Home
    • Lecture Papers (LP)
    • LP - International Published Articles
    • View Item
    JavaScript is disabled for your browser. Some features of this site may not work without it.

    Multi-Pivot Quicksort: an Experiment with Single, Dual, Triple, Quad, and Penta-Pivot Quicksort Algorithms in Python

    Thumbnail
    View/Open
    Fulltext (1.228Mb)
    Peer_review (1.618Mb)
    Similarity (1.690Mb)
    Date
    2017
    Author
    Budiman, M A
    Zamzami, Elviawaty Muisa
    Rachmawati, D
    Metadata
    Show full item record
    Abstract
    Dual-pivot quicksort, which was proposed by Yaroslavsky, has been experimentally proven to be more efficient than the classical single-pivot quicksort under the Java Virtual Machine [6]. Moreover, Kushagara, López-Ortiz, and Munro [4] has shown that triple-pivot quicksort runs 7-8% faster than dual-pivot quicksort in C, mutatis mutandis. In this research, we implement and experiment with single, dual, triple, quad, and penta-pivot quicksort algorithms in Python. Our experimental results are as follows. Firstly, the quicksort with single pivot is the slowest among the five variants. Secondly, at least until five (penta) pivots are being used, it is proven that the more pivots are used in a quicksort algorithm, the faster its performance becomes. Thirdly, the increase of speed resulted by adding more pivots tends to decrease gradually.
    URI
    http://repository.usu.ac.id/handle/123456789/70843
    Collections
    • LP - International Published Articles [2346]

    University of Sumatera Utara Institutional Repository (USU-IR)
    DSpace software copyright © 2002-2016  DuraSpace
    Contact Us | Send Feedback
    Theme by 
    Atmire NV
     

     

    Browse

    All of USU-IRCommunities & CollectionsBy Issue DateTitlesAuthorsAdvisorsSubjectsTypesBy Submit DateThis CollectionBy Issue DateTitlesAuthorsAdvisorsSubjectsTypesBy Submit Date

    My Account

    LoginRegister

    University of Sumatera Utara Institutional Repository (USU-IR)
    DSpace software copyright © 2002-2016  DuraSpace
    Contact Us | Send Feedback
    Theme by 
    Atmire NV