[Webkit-unassigned] [Bug 21816] Clean up ImageBuffer.h so there do not have to be separate ifdefs for each platform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 23 13:30:02 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21816





------- Comment #7 from sam at webkit.org  2008-10-23 13:30 PDT -------
I don't think an extra new/delete is a good idea when not needed.  There is
much smaller overhead to copying the address of a pointer (and potentially an
integer) than there is to a malloc.  In all, this change seems to complicate
the code and add more calls to the allocator than necessary, both of which we
should try and avoid.


-- 
Configure bugmail: https://bugs.webkit.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