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

ASF subversion and git services commented on PROTON-1980:
---------------------------------------------------------

Commit 31a0b35f05794fcbbcf906bc6b921148ac65a27a in qpid-proton-j's branch 
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=31a0b35 ]

PROTON-1980 Optimize the CompositeReadableBuffer hashCode method

Optimize hashCode to better deal with multiple array contents when
producing the hashCode.  Adds additional JMH tests to cover this area.

> Optimize CompositeReadableBuffer::hashCode 
> -------------------------------------------
>
>                 Key: PROTON-1980
>                 URL: https://issues.apache.org/jira/browse/PROTON-1980
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>    Affects Versions: proton-j-0.31.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: proton-j-0.32.0
>
>
> Optimize the hashCode operation to better deal with spans that are within a 
> single array when the buffer contains more than one.
> Optimize the multi array hashCode operation to traverse the arrays as a 
> single operation instead of traversing the arrays using a series of indexed 
> get calls.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to