<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAP Sorting and Search algorithms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545990#M1562940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; To fully answer my concern, I require confirmation (with a source,such as an article, book citation, book, etc.) about the Sorting algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you interested in the algorithm (which i think is not published) or in the scalling behaviour (e.g. sort is n * log(n)  like quick sort, binary search is log(n)  linear search is n which is documented...)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jan 2011 16:09:11 GMT</pubDate>
    <dc:creator>HermannGahm</dc:creator>
    <dc:date>2011-01-13T16:09:11Z</dc:date>
    <item>
      <title>SAP Sorting and Search algorithms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545985#M1562935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been looking around but could not find a good answer regarding what kind of algorithms SAP uses for Sorting and searching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is that SAP uses quick sort or radix sorts perhaps for sorting and linear search/brute force for reads. Any input on this would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 14:04:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545985#M1562935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T14:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Sorting and Search algorithms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545986#M1562936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you talking about internal tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; My guess is that SAP uses quick sort or radix sorts perhaps for sorting &lt;/P&gt;&lt;P&gt;i learnt it is something "very similar to quick sort"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; and linear search/brute force for reads. Any input on this would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;linear, binary or hash search alogrithms are used (depends e.g. on table type)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 14:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545986#M1562936</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2011-01-13T14:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Sorting and Search algorithms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545987#M1562937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, I'm talking about internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone can add more comments to confirm the algorithms used (specially for the sorting part) with a reliable source where the information came from, I'm good to go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 15:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545987#M1562937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T15:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Sorting and Search algorithms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545988#M1562938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 15:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545988#M1562938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T15:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Sorting and Search algorithms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545989#M1562939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Search/Read part is already answered. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fully answer my concern, I require confirmation (with a source,such as an article, book citation, book, etc.) about the Sorting algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tree Sap on Jan 13, 2011 4:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 15:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545989#M1562939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T15:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Sorting and Search algorithms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545990#M1562940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; To fully answer my concern, I require confirmation (with a source,such as an article, book citation, book, etc.) about the Sorting algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you interested in the algorithm (which i think is not published) or in the scalling behaviour (e.g. sort is n * log(n)  like quick sort, binary search is log(n)  linear search is n which is documented...)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 16:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545990#M1562940</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2011-01-13T16:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Sorting and Search algorithms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545991#M1562941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, I'm interested in the "scalling behaviour (e.g. sort is n * log(n) like quick sort, " /Big O/BigOmega performance behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm required to make a mathematical analysis of the sorting performance used by SAP vesus certain amount of reads. I don't need to know the source code for the algorithm that SAP uses, but instead, the name of the algorithm or it's relative computational complexity(Big O,  (e.g. sort is n * log(n) like quick sort) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. "On XSAP book page 23, it is sugested that SAP uses something similar to quick sort" or "wikipedia.org/SAP_performance mentions that SAP has a computational complexity for sort  in the order of  2n * log(n) +k"......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 16:35:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545991#M1562941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T16:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Sorting and Search algorithms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545992#M1562942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Indeed, I'm interested in the "scalling behaviour (e.g. sort is n * log(n) like quick sort, " /Big O/BigOmega performance behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find them in standard sap courses (BC490, BC402) and in blogs by Siegfried and in books (e.g. &lt;A href="http://www.sap-press.com/products/ABAP-Performance-Tuning.html" target="test_blank"&gt;http://www.sap-press.com/products/ABAP-Performance-Tuning.html&lt;/A&gt; or &lt;A href="http://www.dpunkt.de/buecher/3096/performance-optimierung-von-abap%26reg%3B-programmen.html)" target="test_blank"&gt;http://www.dpunkt.de/buecher/3096/performance-optimierung-von-abap%26reg%3B-programmen.html)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I'm required to make a mathematical analysis of the sorting performance used by SAP vesus certain amount of reads. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a rule of thumb if i remember right i learnt one should have ~50 reads before a sort pays off. Maybe Siegfried cann tell you more here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 17:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-sorting-and-search-algorithms/m-p/7545992#M1562942</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2011-01-13T17:01:18Z</dc:date>
    </item>
  </channel>
</rss>

