Bug 25266

Summary: Minimize the use of C++ types in Objective-C methods
Product: WebKit Reporter: Darin Adler <darin>
Component: WebKit Misc.Assignee: Darin Adler <darin>
Status: RESOLVED WONTFIX    
Severity: Normal CC: aroben, bolsinga, ddkilzer, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Bug Depends on: 25210    
Bug Blocks:    
Attachments:
Description Flags
list of methods inside WebCore tree that might need to change none

Description Darin Adler 2009-04-17 07:44:51 PDT
The Objective-C runtime doesn’t work so well with complex C++ types as arguments to methods. The methods end up building big complicated strings for use at runtime. While we never use these in WebKit, I believe the symbols themselves make the binary bigger and load slower (due to overhead making the strings unique).

Accordingly, we should minimize the use of C++ types for arguments to Objective-C methods.
Comment 1 Darin Adler 2009-04-17 07:45:43 PDT
Created attachment 29577 [details]
list of methods inside WebCore tree that might need to change
Comment 2 Darin Adler 2009-04-17 09:22:24 PDT
Bug 25210 is the part of this that in auto-generated DOM bindings.
Comment 3 Darin Adler 2018-06-04 22:30:56 PDT
Maybe we will do this one day, but I don’t think I need to keep this bug open just to remind me of the idea.