[JBoss JIRA] Created: (JBTM-644) tune Uid to byte[] packing
by Jonathan Halliday (JIRA)
tune Uid to byte[] packing
--------------------------
Key: JBTM-644
URL: https://jira.jboss.org/jira/browse/JBTM-644
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Transaction Core
Affects Versions: 4.8.0
Reporter: Jonathan Halliday
Assignee: Mark Little
Fix For: 4.9.0
Packing Uids into a serialized form is a very common operation and must be as fast as possible.
There are opportunities for performance improvement in packing the Uid into a byte[], then putting that byte[] into the output buffer, rather than packing the Uid into the output buffer directly. This is due to the performance of the output buffer packing methods (syncronization and flush) which is really a separate problem.
Having the ability to get a byte[] representation of a Uid is also useful for improving Xid creation performance, as it can simply be array copied into the new Xid.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira