Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2505

go: struct should always be a pointer to avoid copying of potentially size-unbounded structs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: Go - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      THRIFT-2451 changed the way structs are mapped. Unfortunately that introduced passing structs by value as function arguments and returned values in many places. I'm changing it back to pointers.

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              apesternikov Aleksey Pesternikov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: