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

Liang-Chi Hsieh updated SPARK-3300:
-----------------------------------

    Description: The function ensureFreeSpace in object ColumnBuilder doesn't 
need to call clear() on ByteBuffer. The function build() in ColumnBuilder can 
not shorten by using flip() to replace limit(), position() and rewind().  (was: 
The function ensureFreeSpace in object ColumnBuilder clears old buffer before 
copying its content to new buffer.)
       Priority: Minor  (was: Major)
     Issue Type: Improvement  (was: Bug)
        Summary: No need to call clear in ensureFreeSpace and shorten build() 
in ColumnBuilder  (was: The old buffer in ColumnBuilder should clear after 
copying its content)

> No need to call clear in ensureFreeSpace and shorten build() in ColumnBuilder
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-3300
>                 URL: https://issues.apache.org/jira/browse/SPARK-3300
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: Liang-Chi Hsieh
>            Priority: Minor
>
> The function ensureFreeSpace in object ColumnBuilder doesn't need to call 
> clear() on ByteBuffer. The function build() in ColumnBuilder can not shorten 
> by using flip() to replace limit(), position() and rewind().



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to