Lol, Facepalmed
I gonna look for c version of simple json. Coz seralizing a table with 80 fields is quite slow.. On 11/21/10, G. Clifford Williams <[email protected]> wrote: > On Sun, Nov 21, 2010 at 05:26:32AM -0800, mdipierro spake: >> Even simplesjon has a c version that is faster than the one that ships >> with web2py (pure Python). >> >> On Nov 21, 2:41 am, Phyo Arkar <[email protected]> wrote: >> > I stumble across very fast json implementation: >> > >> > http://pypi.python.org/pypi/python-cjson >> > >> > download >> > :http://pypi.python.org/packages/source/p/python-cjson/python-cjson-1.... >> > >> > I gonna check out the api and see if i can implement in web2py. > > Phyo, did you happen to see the Package Comments? There's this one from Nov. > 23, 2009: > > Package Comments: > jmillikin (2009-11-23, 0 points): > Please don't use cjson. It is abandoned, has numerous bugs > related to character escaping and Unicode, and doesn't support many features > available in other JSON libraries. > > If you need a high-performance JSON implementation, use either > jsonlib[1] or simplejson[2] > >

