[Webkit-unassigned] [Bug 94810] Vector::shrinkToFit should use realloc when canCopyWithMemcpy is true
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 27 22:19:55 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94810
Benjamin Poulain <benjamin at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #160738|review? |review-
Flag| |
--- Comment #7 from Benjamin Poulain <benjamin at webkit.org> 2012-08-27 22:19:57 PST ---
(From update of attachment 160738)
r- because you do not provide any rationale for making the change.
1) Please microbenchmark this to provide numbers for the improvement.
2) Please find what is the memory impact. Exactly how does fastMalloc work with those Realloc.
> Also StringBuilder/StringImpl is using fastRealloc to shrink memory anyway.
This is pretty much irrelevant. The memory allocated there is small on average and the lost memory on shrink is at most a little less the size of the useful payload.
--
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