[Webkit-unassigned] [Bug 154903] Vector<Attribute> in HTMLToken, AtomicHTMLToken, and HTMLStackItem should have inline capacity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 2 08:29:45 PST 2016


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

--- Comment #2 from Darin Adler <darin at apple.com> ---
Before making this change we should be sure to understand the performance of moving a Vector with inline capacity vs. the performance of moving a Vector with no inline capacity. We will definitely speed things up by avoiding a heap allocation for each Vector when creating it, but we might incur a cost when moving the vector between objects.

If we are copying rather than moving, then I suppose it’s guaranteed to be a win.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160302/1dec69e5/attachment.html>


More information about the webkit-unassigned mailing list