[Webkit-unassigned] [Bug 103454] Typed Arrays should be part of JSC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 10 10:44:31 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103454





--- Comment #6 from Dominic Szablewski <dominic.szablewski at gmail.com>  2012-12-10 10:46:55 PST ---
(In reply to comment #5)
> I saw your announcement on twitter.  I'm somewhat surprised at the performance gains you got without the JIT.

I don't know how big the performance difference in JavaScript itself is, but the bottleneck was always converting from and to JS through an API that wasn't made for this.

We came up with a hack for Ejecta: Building a JSON string and using JSValueMakeFromJSONString was actually faster than creating an Array "by hand". See the ByteArrayToJSObject and JSObjectToByteArray functions here:

https://github.com/phoboslab/Ejecta/blob/master/Source/Ejecta/EJConvert.m#L290

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list