ObjC methods have considerable cost both at load and runtime (long method names due to long C++ argument types). We can wrap and unwrap with functions instead.
Created attachment 29501 [details] some work in progress
Created attachment 29565 [details] more work in progress
Created attachment 29574 [details] patch
Cool. What does size -m say for the WebCore and WebKit binary's cstring section before and after this change?
(In reply to comment #4) > Cool. What does size -m say for the WebCore and WebKit binary's cstring section > before and after this change? WebCore’s cstring section got 77% smaller. Down from 753,076 bytes to 176,328 bytes. WebKit’s cstring section stayed essentially the same size (down by about 0.14%). I assume that more work on bug 25266 would address the problem further and make the cstring sections even smaller.
Created attachment 29582 [details] patch with path in Xcode project file fixed
This is very good news! Thanks!
Comment on attachment 29582 [details] patch with path in Xcode project file fixed r=me, nice!
http://trac.webkit.org/changeset/42618