[Webkit-unassigned] [Bug 253155] New: Reserve space for vectors if possible
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 1 07:43:18 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=253155
Bug ID: 253155
Summary: Reserve space for vectors if possible
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGPU
Assignee: webkit-unassigned at lists.webkit.org
Reporter: doremylover123 at gmail.com
It is good practice to reserve space in vectors before pushing back new elements
with each iteration, as it saves the work of reallocating space between
each push_back or emplace_back.
--
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/20230301/2c1c487e/attachment.htm>
More information about the webkit-unassigned
mailing list