in reply to Shouldn't JSON be faster?
You may notice ad hoc parsing of short strings is faster in native perl and JSON::XS is only faster for large-ish js inputs. I suspect JSON::XS is usually faster though. It really depends how much parsing your ad hoc format requires.
-Paul
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Shouldn't JSON be faster?
by sflitman (Hermit) on May 31, 2010 at 06:46 UTC |