On Thu, Nov 17, 2011 at 11:13 AM, John Meinel <j...@arbash-meinel.com> wrote: > > On Nov 16, 2011 8:35 PM, "Robert Collins" <robert.coll...@canonical.com> > wrote: >> Which bson encoder / decoder did you use? The mongodb one or the one >> on pypi? [idly curious] > > Mongodb one. Pypi is pure python and 5-10x slower. Same for simplejson and > stdlib's json package.
Interesting. Currently oops-* is using the pypi one, and for laughs they have the same package name and an incompatible API. >< > Is JSON the one that has base60 floats? Or is that yaml? > John yaml I think. json only has: "A number can be represented as integer, real, or floating point. JSON does not support octal or hex because it is minimal. It does not have values for NaN or Infinity because it does not want to be tied to any particular internal representation. Numbers are not quoted. It would be insane to require quotes around numbers." -Rob _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp