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

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@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@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Liran Zelkha <liran.zelkha@gmail.com> Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
amureini@redhat.com