Thanks Bill, I took a look the the convert/addon code and realized it was handling the general case which is overkill for girds.
Writing general parsers that scale well in J is hard. I've seen some neat dyadic ;: cases and sometimes cut can come very close. I think JSON data is important enough to come up with a something that handles the general case for large (>5mb) arguments quickly. On Wed, Dec 5, 2012 at 9:04 AM, bill lam <bbill....@gmail.com> wrote: > Continued from the previous email. > > j/json check and convert escape characters, you can try comment out > that part in json converter's source and see if they will be any > speed-up. > > My feeling is that if you are in control and in charge of writing > code for both ends of the communications, then you are free to > choose any format to encode data not limited to json. > > Срд, 05 Дек 2012, bill lam писал(а): > > That addon aimed to convert arbitrarily nested json data structure, I > > didn't test its performance against json parser written in other > > languages. You can compare timing with ,say, javascript json parser > > and estimate the room for improvement. > > > > 2012/12/5 John Baker <bakerj...@gmail.com>: > > > I've updated the JHS grid demo after figuring out how to get data out > of > > > the free version of DHTMLX. > > > > > > > http://bakerjd99.wordpress.com/2012/12/04/more-about-jhs-with-dhtmlx-the-grid/ > > > > > > The convert/json addon is slow for large arguments. Can anybody > suggest > > > alternatives? > > > > > > -- > > > John D. Baker > > > bakerj...@gmail.com > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- John D. Baker bakerj...@gmail.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm