[Webkit-unassigned] [Bug 6219] Perf regression: -[NSImage initWithData:] called repeatedly while moving the cursor over an image

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Dec 31 04:30:49 PST 2005


------- Additional Comments From opendarwin.org at mitzpettel.com  2005-12-31 04:30 -------
Created an attachment (id=5395)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=5395&action=view)
Lame patch

With this patch, initWithData: will still be called once per image, which is
almost always a waste of time. The non-lame approach, I think, is to use an
NSImage subclass or a proxy that does lazy instantiation as the value of
WebElementImageKey in the element dictionary.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list