[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] performance of the json parser
From: |
Stephen Compall |
Subject: |
Re: [Help-smalltalk] performance of the json parser |
Date: |
Sun, 04 Nov 2007 19:21:55 +0000 |
On Sun, 2007-11-04 at 14:00 +0100, Robin Redeker wrote:
> And indeed, skipping the iconv step would just test the JSON parser
> itself. In my application that uses the JSON parser I actually can't
> skip that step as I get the data from the network and have to run it
> through iconv anyways.
I don't mean the input; of course that should be iconved. I'm referring
to the data structures produced by the program.
A UnicodeString, if written out, may do the conversion anyway in a way
similar to how it's done now; however, it will also first ask whether
the stream supports UnicodeString handling, in which case it'll rely on
the stream to recode it properly.
With the attached patch and removing use of "outputEncoding" from the
example, I got 2/22/3 with a great reduction in outliers (opposed to
5/34/14 before).
Let me know if you like it and I'll add it to my archive.
--
Our last-ditch plan is to change the forums into a podcast, then send
RSS feeds into the blogosphere so our users can further debate the
legality of mashups amongst this month's 20 'sexiest' gadgets.
--Richard "Lowtax" Kyanka
json-optional-outputenc.patch
Description: Text Data
signature.asc
Description: This is a digitally signed message part
- [Help-smalltalk] performance of the json parser, Robin Redeker, 2007/11/03
- Re: [Help-smalltalk] performance of the json parser, Stephen Compall, 2007/11/03
- Re: [Help-smalltalk] performance of the json parser, Robin Redeker, 2007/11/03
- Re: [Help-smalltalk] performance of the json parser, Stephen Compall, 2007/11/03
- Re: [Help-smalltalk] performance of the json parser, Robin Redeker, 2007/11/04
- Re: [Help-smalltalk] performance of the json parser,
Stephen Compall <=
- Re: [Help-smalltalk] performance of the json parser, Paolo Bonzini, 2007/11/05
- Re: [Help-smalltalk] performance of the json parser, Robin Redeker, 2007/11/05
- Re: [Help-smalltalk] performance of the json parser, Paolo Bonzini, 2007/11/05
- Re: [Help-smalltalk] performance of the json parser, Stephen Compall, 2007/11/05
- Re: [Help-smalltalk] performance of the json parser, Paolo Bonzini, 2007/11/05