Change in vdsm[master]: guestagent: Simplify and modernize object filtering

danken at redhat.com danken at redhat.com
Wed Jan 6 19:49:51 UTC 2016


Dan Kenigsberg has submitted this change and it was merged.

Change subject: guestagent: Simplify and modernize object filtering
......................................................................


guestagent: Simplify and modernize object filtering

Simplify and modernize object filtering by using dict and list
comprehensions.  This creates less garbage while building a filtered
object, and give minor performance improvement (35%).

Change-Id: I753d97ffe992400728aebed0352661306a1619c7
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/51039
Reviewed-by: Vinzenz Feenstra <vfeenstr at redhat.com>
Reviewed-by: Francesco Romani <fromani at redhat.com>
Continuous-Integration: Jenkins CI
---
M vdsm/virt/guestagent.py
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Nir Soffer: Verified
  Jenkins CI: Passed CI tests
  Vinzenz Feenstra: Looks good to me, but someone else must approve
  Francesco Romani: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/51039
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I753d97ffe992400728aebed0352661306a1619c7
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list