Bug 207503

Summary: [WebCore] Shrink Vectors passed to SharedBuffer
Product: WebKit Reporter: Basuke Suzuki <basuke>
Component: WebCore Misc.Assignee: Basuke Suzuki <basuke>
Status: RESOLVED FIXED    
Severity: Normal CC: basuke, commit-queue, simon.fraser, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
PATCH none

Basuke Suzuki
Reported 2020-02-10 13:38:08 PST
SharedBuffer::DataSegment is const data and never change is size and content after creation. Shrink the passed vector before assigning to member variable to save space.
Attachments
PATCH (1.67 KB, patch)
2020-02-10 13:45 PST, Basuke Suzuki
no flags
Basuke Suzuki
Comment 1 2020-02-10 13:45:42 PST
Yusuke Suzuki
Comment 2 2020-02-10 14:24:17 PST
Comment on attachment 390288 [details] PATCH r=me
WebKit Commit Bot
Comment 3 2020-02-10 15:17:22 PST
Comment on attachment 390288 [details] PATCH Clearing flags on attachment: 390288 Committed r256223: <https://trac.webkit.org/changeset/256223>
WebKit Commit Bot
Comment 4 2020-02-10 15:17:24 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2020-02-10 15:18:14 PST
Note You need to log in before you can comment on or make changes to this bug.