[Webkit-unassigned] [Bug 94810] Vector::shrinkToFit should use realloc when canCopyWithMemcpy is true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 28 12:33:42 PDT 2012


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





--- Comment #20 from Yong Li <yoli at rim.com>  2012-08-28 12:33:44 PST ---
Created an attachment (id=161033)
 --> (https://bugs.webkit.org/attachment.cgi?id=161033&action=review)
the test code I'm using...

It is a little bit ugly I know :)

Basically in every cycle, it creates a vector, allocates buffer, sets the size, and then call shrinkToFit(), and destructs the buffer.

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