[ 
https://issues.apache.org/jira/browse/PARQUET-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101729#comment-17101729
 ] 

ASF GitHub Bot commented on PARQUET-1750:
-----------------------------------------

belugabehr commented on pull request #735:
URL: https://github.com/apache/parquet-mr/pull/735#issuecomment-625297512


   @Fokko I took a look at this once more and thought I could make it even a 
little neater.  Please take a look.  Thanks!!  In regards to testing, there is 
already a `TestRowRanges` class to validate.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> Reduce Memory Usage of RowRanges Class
> --------------------------------------
>
>                 Key: PARQUET-1750
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1750
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>
> {{RowRanges}} maintains an internal {{ArrayList}} with a default capacity 
> (10).  However, sometimes it is known ahead of time that only a single 
> instance of {{Range}} will be added.  For these cases, do not instantiate an 
> {{ArrayList}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to