[Webkit-unassigned] [Bug 164952] New: Use Vector::uncheckedAppend() in more places

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 18 13:46:36 PST 2016


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

            Bug ID: 164952
           Summary: Use Vector::uncheckedAppend() in more places
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org

We can use Vector::uncheckedAppend() whenever the number of items that will be appended to a vector is equal to or less than its capacity. Many call sites that call Vector::reserveInitialCapacity() and then use Vector::append() can be written to use Vector::uncheckedAppend().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161118/696a5377/attachment.html>


More information about the webkit-unassigned mailing list