Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1670

Use buffer pooling and copying return values to reduce memory allocation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Currently new byte slices are created every time Operation.Execute is called. We can reduce this by pooling the byte slices in the background and copying return values, which are usually subslices, into new slices before returning them, which will free up the original slice.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rachelle.palmer Rachelle Palmer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: