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

Lars Hofhansl updated PHOENIX-1281:
-----------------------------------
    Description: 
I looked through all callers of this method, and in each case we have a fresh 
List object anyway, and hence the wrapping is not necessary saving at least one 
new object per row scanned.

This is probably not really critical, but of a sizable COUNT(\*) or other 
aggregate it still creates lot of unnecessary objects.

  was:
I looked through all callers of this method, and in each case we have a fresh 
List object anyway, and hence the wrapping is not necessary saving at least one 
new object per row scanned.

This is probably not really critical, but of a sizable COUNT(*) or other 
aggregate it still creates lot of unnecessary objects.


> Each MultiKeyValueTuple.setKeyValues creates a new immutable list object
> ------------------------------------------------------------------------
>
>                 Key: PHOENIX-1281
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1281
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>
> I looked through all callers of this method, and in each case we have a fresh 
> List object anyway, and hence the wrapping is not necessary saving at least 
> one new object per row scanned.
> This is probably not really critical, but of a sizable COUNT(\*) or other 
> aggregate it still creates lot of unnecessary objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to