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 17:01:00 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:
-----------------------------------

    Summary: No need to call clear() in ensureFreeSpace and shorten build() in ColumnBuilder  (was: No need to call clear in ensureFreeSpace and shorten build() in ColumnBuilder)

> 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