[ 
https://issues.apache.org/jira/browse/THRIFT-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated THRIFT-4702:
--------------------------------
    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.

> Improve AutoExpandingBuffer
> ---------------------------
>
>                 Key: THRIFT-4702
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4702
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>    Affects Versions: 0.12.0
>            Reporter: BELUGA BEHR
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to