----- Original Message ----- > From: "Nir Soffer" <nsof...@redhat.com> > To: "Francesco Romani" <from...@redhat.com> > Cc: devel@ovirt.org > Sent: Monday, November 10, 2014 1:21:53 PM > Subject: Re: [ovirt-devel] [VDSM][JSON] jsonrpc coding/encoding performance > on RHEL/Centos 6 > > We have vdsm/lib/compat.py for this stuff. > > Then everyone needing json will do "from vdsm.compat import json"
Do you think is better to have an hard dependency on 'simplejson' or a soft one like I showed above hidden on compat.py? I think we agree that 'explicit is better than implicit' here, so... (see below). > Nice catch - using pure python encoder/decoder is indeed much slower, strange > that Python 2.6 does not include the c extension. > > I think we would like to use simplejson on all platforms, to make the build > and support simpler. ...agreed, and posted http://gerrit.ovirt.org/#/c/35024/ Bests, -- Francesco Romani RedHat Engineering Virtualization R & D Phone: 8261328 IRC: fromani _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel