You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2014/08/29 16:58:53 UTC

[jira] [Updated] (SPARK-3300) No need to call clear in ensureFreeSpace and shorten build() in ColumnBuilder

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org