Study of the efficiency of some deterministic preprocessing methods for sorting algorithms
To verify the hypothesis about decrease in time of sorting by algorithms of different computational complexity experiments have been conducted. Several ideas on deterministic preprocessing of data arrays for sorting algorithms have been tested. The following algorithms are proposed: quick preprocess...
Gespeichert in:
Veröffentlicht in: | PROBLEMS IN PROGRAMMING 2023-12 (4), p.3-14 |
---|---|
Hauptverfasser: | , |
Format: | Artikel |
Sprache: | eng |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | 14 |
---|---|
container_issue | 4 |
container_start_page | 3 |
container_title | PROBLEMS IN PROGRAMMING |
container_volume | |
creator | Shynkarenko, V.I. Makarov, O.V. |
description | To verify the hypothesis about decrease in time of sorting by algorithms of different computational complexity experiments have been conducted. Several ideas on deterministic preprocessing of data arrays for sorting algorithms have been tested. The following algorithms are proposed: quick preprocessing – prediction of the index of an element in a sorted array and permutation, preprocessing with memory - prediction and permutation with memorization of previously set elements, preprocessing with reordering – reverting sequences of elements sorted in reverse order. Also proposed block variations of quick and preprocessing with memory, which are performed for parts of the array of a given length. It has been defined that the higher efficiency of preprocessing is achieved by using with sorting algorithms, which are significantly accelerated on sorted (or almost sorted) arrays of data. Block preprocessing methods can be performed faster due to the possibility of avoiding cache misses, but show a lower percentage of array sorting. Experiments were conducted to evaluate the effectiveness of various sorting algorithms after and together with the proposed preprocessing methods. |
doi_str_mv | 10.15407/pp2023.04.003 |
format | Article |
fullrecord | <record><control><sourceid>crossref</sourceid><recordid>TN_cdi_crossref_primary_10_15407_pp2023_04_003</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>10_15407_pp2023_04_003</sourcerecordid><originalsourceid>FETCH-crossref_primary_10_15407_pp2023_04_0033</originalsourceid><addsrcrecordid>eNqVjjsOwjAQRF2ABIK01L4AYfOBhBqB6KGisYKzJpZwbO2agtsTPhegGulpZvSEWGSQZusSqlUIOeRFCmUKUIzENKvyalluoZqIhNleAdYbqKGup-Jyio_2Kb2RsUOJxlhtsdcfwt6hbDEiOdtbjlbLQBjIaxxe-pt0GDvfsjSehjLFN2vuN082do7nYmyaO2Pyy5lID_vz7rjU5JkJjQpkXUNPlYH6iKuvuIJSDeLF34MXnNdO1A</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Study of the efficiency of some deterministic preprocessing methods for sorting algorithms</title><source>Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals</source><creator>Shynkarenko, V.I. ; Makarov, O.V.</creator><creatorcontrib>Shynkarenko, V.I. ; Makarov, O.V. ; Ukrainian State University science and technology</creatorcontrib><description>To verify the hypothesis about decrease in time of sorting by algorithms of different computational complexity experiments have been conducted. Several ideas on deterministic preprocessing of data arrays for sorting algorithms have been tested. The following algorithms are proposed: quick preprocessing – prediction of the index of an element in a sorted array and permutation, preprocessing with memory - prediction and permutation with memorization of previously set elements, preprocessing with reordering – reverting sequences of elements sorted in reverse order. Also proposed block variations of quick and preprocessing with memory, which are performed for parts of the array of a given length. It has been defined that the higher efficiency of preprocessing is achieved by using with sorting algorithms, which are significantly accelerated on sorted (or almost sorted) arrays of data. Block preprocessing methods can be performed faster due to the possibility of avoiding cache misses, but show a lower percentage of array sorting. Experiments were conducted to evaluate the effectiveness of various sorting algorithms after and together with the proposed preprocessing methods.</description><identifier>ISSN: 1727-4907</identifier><identifier>DOI: 10.15407/pp2023.04.003</identifier><language>eng</language><ispartof>PROBLEMS IN PROGRAMMING, 2023-12 (4), p.3-14</ispartof><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-crossref_primary_10_15407_pp2023_04_0033</cites><orcidid>0009-0003-0921-155X ; 0000-0001-8738-7225</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,780,784,27924,27925</link.rule.ids></links><search><creatorcontrib>Shynkarenko, V.I.</creatorcontrib><creatorcontrib>Makarov, O.V.</creatorcontrib><creatorcontrib>Ukrainian State University science and technology</creatorcontrib><title>Study of the efficiency of some deterministic preprocessing methods for sorting algorithms</title><title>PROBLEMS IN PROGRAMMING</title><description>To verify the hypothesis about decrease in time of sorting by algorithms of different computational complexity experiments have been conducted. Several ideas on deterministic preprocessing of data arrays for sorting algorithms have been tested. The following algorithms are proposed: quick preprocessing – prediction of the index of an element in a sorted array and permutation, preprocessing with memory - prediction and permutation with memorization of previously set elements, preprocessing with reordering – reverting sequences of elements sorted in reverse order. Also proposed block variations of quick and preprocessing with memory, which are performed for parts of the array of a given length. It has been defined that the higher efficiency of preprocessing is achieved by using with sorting algorithms, which are significantly accelerated on sorted (or almost sorted) arrays of data. Block preprocessing methods can be performed faster due to the possibility of avoiding cache misses, but show a lower percentage of array sorting. Experiments were conducted to evaluate the effectiveness of various sorting algorithms after and together with the proposed preprocessing methods.</description><issn>1727-4907</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2023</creationdate><recordtype>article</recordtype><recordid>eNqVjjsOwjAQRF2ABIK01L4AYfOBhBqB6KGisYKzJpZwbO2agtsTPhegGulpZvSEWGSQZusSqlUIOeRFCmUKUIzENKvyalluoZqIhNleAdYbqKGup-Jyio_2Kb2RsUOJxlhtsdcfwt6hbDEiOdtbjlbLQBjIaxxe-pt0GDvfsjSehjLFN2vuN082do7nYmyaO2Pyy5lID_vz7rjU5JkJjQpkXUNPlYH6iKuvuIJSDeLF34MXnNdO1A</recordid><startdate>202312</startdate><enddate>202312</enddate><creator>Shynkarenko, V.I.</creator><creator>Makarov, O.V.</creator><scope>AAYXX</scope><scope>CITATION</scope><orcidid>https://orcid.org/0009-0003-0921-155X</orcidid><orcidid>https://orcid.org/0000-0001-8738-7225</orcidid></search><sort><creationdate>202312</creationdate><title>Study of the efficiency of some deterministic preprocessing methods for sorting algorithms</title><author>Shynkarenko, V.I. ; Makarov, O.V.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-crossref_primary_10_15407_pp2023_04_0033</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2023</creationdate><toplevel>online_resources</toplevel><creatorcontrib>Shynkarenko, V.I.</creatorcontrib><creatorcontrib>Makarov, O.V.</creatorcontrib><creatorcontrib>Ukrainian State University science and technology</creatorcontrib><collection>CrossRef</collection><jtitle>PROBLEMS IN PROGRAMMING</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Shynkarenko, V.I.</au><au>Makarov, O.V.</au><aucorp>Ukrainian State University science and technology</aucorp><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Study of the efficiency of some deterministic preprocessing methods for sorting algorithms</atitle><jtitle>PROBLEMS IN PROGRAMMING</jtitle><date>2023-12</date><risdate>2023</risdate><issue>4</issue><spage>3</spage><epage>14</epage><pages>3-14</pages><issn>1727-4907</issn><abstract>To verify the hypothesis about decrease in time of sorting by algorithms of different computational complexity experiments have been conducted. Several ideas on deterministic preprocessing of data arrays for sorting algorithms have been tested. The following algorithms are proposed: quick preprocessing – prediction of the index of an element in a sorted array and permutation, preprocessing with memory - prediction and permutation with memorization of previously set elements, preprocessing with reordering – reverting sequences of elements sorted in reverse order. Also proposed block variations of quick and preprocessing with memory, which are performed for parts of the array of a given length. It has been defined that the higher efficiency of preprocessing is achieved by using with sorting algorithms, which are significantly accelerated on sorted (or almost sorted) arrays of data. Block preprocessing methods can be performed faster due to the possibility of avoiding cache misses, but show a lower percentage of array sorting. Experiments were conducted to evaluate the effectiveness of various sorting algorithms after and together with the proposed preprocessing methods.</abstract><doi>10.15407/pp2023.04.003</doi><orcidid>https://orcid.org/0009-0003-0921-155X</orcidid><orcidid>https://orcid.org/0000-0001-8738-7225</orcidid></addata></record> |
fulltext | fulltext |
identifier | ISSN: 1727-4907 |
ispartof | PROBLEMS IN PROGRAMMING, 2023-12 (4), p.3-14 |
issn | 1727-4907 |
language | eng |
recordid | cdi_crossref_primary_10_15407_pp2023_04_003 |
source | Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals |
title | Study of the efficiency of some deterministic preprocessing methods for sorting algorithms |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-30T16%3A54%3A45IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-crossref&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Study%20of%20the%20efficiency%20of%20some%20deterministic%20preprocessing%20methods%20for%20sorting%20algorithms&rft.jtitle=PROBLEMS%20IN%20PROGRAMMING&rft.au=Shynkarenko,%20V.I.&rft.aucorp=Ukrainian%20State%20University%20science%20and%20technology&rft.date=2023-12&rft.issue=4&rft.spage=3&rft.epage=14&rft.pages=3-14&rft.issn=1727-4907&rft_id=info:doi/10.15407/pp2023.04.003&rft_dat=%3Ccrossref%3E10_15407_pp2023_04_003%3C/crossref%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |