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

Improve AutoExpandingBuffer

    XMLWordPrintableJSON

    Details

      Description

      The class has a concept of a "growth factor" which is a float value.  However, the growth value is hard-coded at 150%.  Instead, remove this configurable value, that isn't externally configurable, and instead use bit shifting to achieve a 150% increase instead of a a float value.

      Decrease the scope of this class since it is an internal utility and should not be directly consumed by outside code.

      Other miscellaneous cleanup and simplification.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                belugabehr David Mollitor
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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