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

Performance: pass large and/or refcounted arguments as "const"

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      Input arguments to functions should be passed using const in the following cases

      • the argument size exceeds the size of a pointer = 32 bit
      • the argument is an refcounted type, like interface pointers, or long string types

      This patch adds the necessary changes to compiler, library and test code.

      Attachments

        Issue Links

          Activity

            People

              jensg Jens Geyer
              jensg Jens Geyer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: