by phpnode · 12y ago · 0 comments
it's effectively the same input, but optimised for JSON.parse() rather than transit. This means it purely decodes into objects with fast properties (in V8 at least), so objects never have to undergo the -> hash table transition. It seems consistently faster, but you can argue that it's not doing quite the same thing.
As a general rule the optimizations in transit-js take all browsers into consideration - not any particular one.