[ 
https://issues.apache.org/jira/browse/GEODE-6688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823282#comment-16823282
 ] 

Darrel Schneider commented on GEODE-6688:
-----------------------------------------

I have a possible for this in: 

be934f16a90bea9100a91582a7bcde54768c17ba

> InternalDistributedMember could use readInt instead of readInteger
> ------------------------------------------------------------------
>
>                 Key: GEODE-6688
>                 URL: https://issues.apache.org/jira/browse/GEODE-6688
>             Project: Geode
>          Issue Type: Improvement
>          Components: serialization
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Minor
>              Labels: performance
>
> InternalDistributedMember uses DataSerializer.readInteger in a few places 
> that tend to be called often. If this code instead called DataInput.readInt 
> it would save the allocation of an instance of Integer. Since 
> DataSerializer.readInteger is implemented by calling DataInput.readInt this 
> optimization should not have any issues.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to