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