An Introduction to JS-Ctypes

Brendan Eich brendan at mozilla.com
Sat Sep 17 21:03:02 PDT 2011


On Sep 17, 2011, at 10:34 PM, Andrea Giammarchi wrote:

> Brendan I wrote I did it on purpose trying to predict what JS devs will do once JS.next will bring ctypes like syntax.

My objection is that you're confounding test2 by adding object literal overhead to each loop iteration, in addition to typed array accesses. You want to focus on just the typed array accesses, from what I can tell of your benchmark.

/be


More information about the es-discuss mailing list