Optimize bracket nodes where the subscript is a constant string to just emit an identifier access. Will help code like the test case in: https://bugs.webkit.org/show_bug.cgi?id=20209 (takes f2() from .61s to .46s on my MPB) Should have no impact on sunspider, this case does not occur. patch in 5... 4... 3...
Created attachment 22553 [details] the patch! (changes nodes.cpp) oh, s/MPB/MBP/ in my last comment. :-)
Comment on attachment 22553 [details] the patch! (changes nodes.cpp) r=me I would like a layout test, though.
Created attachment 22880 [details] Patch, -1.5% on sunspider :-(
Patch wildly out of date, and I don't know there to be a real world benefit here. Closing for now, if we want to look at this again we can start from scratch.