Linked by Thom Holwerda on Thu 23rd Sep 2010 21:36 UTC, submitted by google_ninja
Thread beginning with comment 442573
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 06/19/13 23:02 UTC, submitted by M.Onty
Linked by Thom Holwerda on 06/19/13 22:28 UTC
Linked by Thom Holwerda on 06/18/13 22:33 UTC
Linked by Anonymous on 06/18/13 22:26 UTC
Linked by Thom Holwerda on 06/18/13 22:25 UTC
Linked by Thom Holwerda on 06/18/13 17:45 UTC
Linked by Thom Holwerda on 06/18/13 17:32 UTC, submitted by poundsmack
Linked by Thom Holwerda on 06/17/13 17:58 UTC
Linked by Thom Holwerda on 06/17/13 17:52 UTC
Linked by Thom Holwerda on 06/14/13 21:03 UTC
More News »
Sponsored Links



Member since:
2006-01-02
Yes, as i understand it the way method JITs get around this is by implementing stub code for multiple types. So "x + y" javascript code generates native code for both integer and string addition, and then the correct path is chosen at runtime. "
... but just choosing this at runtime can easily kill performance
You might have a good point there :-) At least for code manipulating only typed arrays. But when an arithmetic operations involves both typed arrays and other JS variables, my concern is that the lack of typing of the JS variable would hurt performance.
Typed arrays (and WebGL) are definitely already implemented in WebKit.
Have you tried since Jaegermonkey was merged 2 weeks ago? See http://arewefastyet.com for benchmark results.
Sunspider is indeed too short running to give Tracemonkey a good chance. Good thing we have Jaegermonkey :-)