[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
Sun Jan 1 01:49:57 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6219


opendarwin.org at mitzpettel.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5406|                            |review?
               Flag|                            |




------- Additional Comments From opendarwin.org at mitzpettel.com  2006-01-01 01:49 -------
(From update of attachment 5406)
Maybe there should be a FIXME in WebHTMLView where it creates the NSImage
saying that it would be better to delay the actual NSImage instantiation? It
seems that in an overwhelming majority of cases, the WebElementImageKey isn't
used.

Another option, instead of using a proxy or an NSImage subclass, is to use an
NSMutableDictionary subclass for the result of -[WebHTMLView elementAtPoint:]
that knows how to generate the value of the WebElementImageKey from the
WebCoreElementImageRendererKey.


-- 
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