Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Faster JAXB element creation
......................................................................


restapi: Faster JAXB element creation

Currently when we need to create a JAXB element we always iterate the
object factory looking for the appropiate method. To improve the
performance of this lookup this patch introduces an index that is
created during startup so that the iteration is done only once.

Change-Id: Ie6f2cc91701ff45a443d3b8b37e8225d7b26c4fa
Signed-off-by: Juan Hernandez <[email protected]>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/xml/JAXBProvider.java
1 file changed, 19 insertions(+), 13 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  anmolbabu: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6f2cc91701ff45a443d3b8b37e8225d7b26c4fa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Ori Liel <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: anmolbabu <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to