]
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: