<?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: Performance issue with global constants? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659238#M28603</link>
    <description>&lt;P&gt;No, there aren't performance issues with global constants. #fairytale&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jun 2018 11:47:57 GMT</pubDate>
    <dc:creator>holger_janz</dc:creator>
    <dc:date>2018-06-08T11:47:57Z</dc:date>
    <item>
      <title>Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659237#M28602</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I prefer to define constants as attributes in a class interface for cross program usage. Now, someone said, global constants have an negative performance issue. Argumentation is something like "The constant value needs to be copied from global stack to local program stack".&lt;/P&gt;
  &lt;P&gt;Looking at 'Declaration of Data Types and Constants' (SAP ABAP docu) I think it should be ok like I usual do.&lt;BR /&gt;&lt;BR /&gt;Can you confirm performance issues with global ABAP OO constants? Is this a real issue which the end user will realize at a normal transcation? Or is this more a academic topic?&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 10:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659237#M28602</guid>
      <dc:creator>andreas-de</dc:creator>
      <dc:date>2018-06-08T10:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659238#M28603</link>
      <description>&lt;P&gt;No, there aren't performance issues with global constants. #fairytale&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 11:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659238#M28603</guid>
      <dc:creator>holger_janz</dc:creator>
      <dc:date>2018-06-08T11:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659239#M28604</link>
      <description>&lt;P&gt;This is possibly an issue with loading a static &lt;EM&gt;class&lt;/EM&gt; into the internal session memory, which - unlike instances - is not unloaded by the garbage collector. I think this may be what your colleague might be referring to. &lt;/P&gt;
  &lt;P&gt;This is one argument for using interface vs class constants, as interfaces contain no executable code and interface constants are (probably) evaluated at compile time. Personally I use interface constants as well for this reason. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 13:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659239#M28604</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-06-08T13:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659240#M28605</link>
      <description>&lt;P&gt;&lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenpxa_glosry.htm" target="test_blank"&gt;https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenpxa_glosry.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 16:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659240#M28605</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-06-08T16:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659241#M28606</link>
      <description>&lt;P&gt;...which is exactly the bit I'm unsure about: Since interfaces have no executable code, are they considered bytecode or processed in their entirety at compile-time for scenarios such as this? It's theoretically possible, but, ABAP being ABAP, theory means little &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 20:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659241#M28606</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-06-08T20:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659242#M28607</link>
      <description>&lt;P&gt;I guess documentation is due for another update. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
  &lt;P&gt;But seriously - are we even talking any significant potential performance impact here?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 22:04:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659242#M28607</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2018-06-08T22:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659243#M28608</link>
      <description>&lt;P&gt;Use Interface Constants instead of Class. There is no performance issues with global constant. &lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 03:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659243#M28608</guid>
      <dc:creator>sharanjee_186716</dc:creator>
      <dc:date>2018-06-09T03:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659244#M28609</link>
      <description>&lt;P&gt;Could have a significant impact for large scale compute-intensive applications such as cosmological dark matter distribution modelling, or playing chess against another computer.&lt;/P&gt;
  &lt;P&gt;In other words, mostly academic.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 06:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659244#M28609</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-06-09T06:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659245#M28610</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;PXA also buffers shared resources like the values of constants.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 13:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659245#M28610</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-06-10T13:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with global constants?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659246#M28611</link>
      <description>&lt;P&gt;But classes allow unit tests. Can make sense even for constants (checking values against external ressources).&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 13:47:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-global-constants/m-p/659246#M28611</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-06-10T13:47:46Z</dc:date>
    </item>
  </channel>
</rss>

