Property Iteration in JSON serialization

Graydon Hoare graydon at mozilla.com
Tue Oct 13 22:19:09 PDT 2009


David-Sarah Hopwood wrote:

> [*] Do any common implementations actually do that, other than for
>     packed arrays?

Yes. All the fast ones. Nitro (nee sfx), v8 and spidermonkey all 
synthesize structural type descriptors ("shapes") at runtime and store 
packed instances, tagged by shape. It's an old trick and pays off well.

(This comment is orthogonal to any conversation about JSON, mind you.)

-Graydon


More information about the es-discuss mailing list