[Webkit-unassigned] [Bug 87938] [GTK] Avoid unnecessary heap allocations during drag and drop operations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 1 09:03:17 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=87938
--- Comment #9 from Carlos Garcia Campos <cgarcia at igalia.com> 2012-06-01 09:03:17 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > DragData has a small size so I don't think there's any risk in allocate it on the stack, and it's what all other ports do after all.
>
> It still seems like this is less clean than the old approach. An allocation on the heap isn't such a terrible thing, but even so it can be eliminated by simply caching the DragData in the DragAndDropHelper.
Well, I don't see this is less clean, and DragData looks like a temp object to me, so I prefer not to cache it at all.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list