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

[C++] Avoid copy of TUuid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • C++ and C generator

    Description

      The current implementation of the TUuid type generates code that copies the TUuid type and does not use cont reference like other complex types, like std::string.

      For consistency and performance the copy should be avoided and a const reference must be passed.

      See this comment

      Attachments

        Issue Links

          Activity

            People

              cjcombrink Carel
              cjcombrink Carel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h