Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-3312

Refactor getenv calls in common/IpcGuardian.cpp for efficiency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • sql-exe
    • None

    Description

      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.

      Attachments

        Activity

          People

            dbirdsall Dave Birdsall
            dbirdsall Dave Birdsall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: