[jboss-jira] [JBoss JIRA] (JGRP-1774) Avoid buffer allocations when encoding a long for appending to another buffer
Bela Ban (JIRA)
issues at jboss.org
Wed Jan 22 05:46:28 EST 2014
[ https://issues.jboss.org/browse/JGRP-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban resolved JGRP-1774.
----------------------------
Assignee: Bela Ban (was: Sanne Grinovero)
Resolution: Done
> Avoid buffer allocations when encoding a long for appending to another buffer
> -----------------------------------------------------------------------------
>
> Key: JGRP-1774
> URL: https://issues.jboss.org/browse/JGRP-1774
> Project: JGroups
> Issue Type: Enhancement
> Reporter: Sanne Grinovero
> Assignee: Bela Ban
> Fix For: 3.5
>
>
> When a long gets encoded, a function is used which returns a {{byte[]}}.
> There are some hot methods which invoke this encoding, to then append the buffer's content into a _DataOutput_. Especially for the case of these hot methods we should rather have the function write the encoded form directly into the _DataOutput_.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list