An Introduction to JS-Ctypes

Brendan Eich brendan at mozilla.com
Sat Sep 17 22:16:23 PDT 2011


On Sep 18, 2011, at 12:34 AM, Andrea Giammarchi wrote:

> On Sun, Sep 18, 2011 at 6:19 AM, Brendan Eich <brendan at mozilla.com> wrote:
> 
> Who ever said they didn't?
> 
> Sam did:
> > You'd need a benchmark that shows that the object allocation you're
> > avoiding here is worth the lack of flexibility.

Sam did not say object literals are cost-free (you wrote "at least now we agree object literals *add* overhead", implying he did).

The issue is whether the cost is too great. It depends.

/be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110918/50ddc850/attachment-0001.html>


More information about the es-discuss mailing list