[Webkit-unassigned] [Bug 233481] New: SharedBufferChunkReader should be refactored
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 24 14:00:08 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233481
Bug ID: 233481
Summary: SharedBufferChunkReader should be refactored
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jean-yves.avenard at apple.com
Depends on: 233030
SharedBufferChunkReader is used to read the content of a SharedBuffer into a Vector.
It flattens the SharedBuffer which is inefficient.
It was first noted in bug 170956 that it should be rewritten and use the SharedBuffer's iterator instead.
Following bug 233030 where SharedBuffer are no longer mutable ; it required the SharedBufferChunkReader to keep a strong ref to a ContiguousSharedBuffer which would increase total memory use.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=233030
[Bug 233030] Distinguish contiguous SharedBuffer from non-contiguous one and guarantee immutability
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211124/a18cbab3/attachment.htm>
More information about the webkit-unassigned
mailing list