Change in ovirt-engine[master]: core: Improve performance of GuidUtils.toByteArray

amureini at redhat.com amureini at redhat.com
Sun Jul 7 15:36:15 UTC 2013


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Improve performance of GuidUtils.toByteArray
......................................................................


core: Improve performance of GuidUtils.toByteArray

There is no need to use an intermediate stream to convert from an UUID
to an array of bytes, directly generating the array is much faster.

Change-Id: I3f7cf2f899cd9f0be56a79b06f25ad8381bdbfc1
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/GuidUtils.java
1 file changed, 10 insertions(+), 37 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


-- 
To view, visit http://gerrit.ovirt.org/16467
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3f7cf2f899cd9f0be56a79b06f25ad8381bdbfc1
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Liran Zelkha <liran.zelkha at gmail.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list