You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "David Wayne Birdsall (JIRA)" <ji...@apache.org> on 2019/06/17 22:08:00 UTC

[jira] [Created] (TRAFODION-3312) Refactor getenv calls in common/IpcGuardian.cpp for efficiency

David Wayne Birdsall created TRAFODION-3312:
-----------------------------------------------

             Summary: Refactor getenv calls in common/IpcGuardian.cpp for efficiency
                 Key: TRAFODION-3312
                 URL: https://issues.apache.org/jira/browse/TRAFODION-3312
             Project: Apache Trafodion
          Issue Type: Improvement
          Components: sql-exe
    Affects Versions: 2.4
            Reporter: David Wayne Birdsall
            Assignee: David Wayne Birdsall


There are several calls to getenv() in module common/IpcGuardian.cpp. Some of these are guarded by static variables so they are called only once in the life of the process. But others are called repeatedly. We could make things a bit more efficient if these calls were done just once. There may be a few debug calls that could simply be done away with completely.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)