[Webkit-unassigned] [Bug 165472] New: Investigate reducing initial capacity of Partition::m_sets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 6 09:38:56 PST 2016


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

            Bug ID: 165472
           Summary: Investigate reducing initial capacity of
                    Partition::m_sets
    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
                CC: achristensen at apple.com, benjamin at webkit.org

Investigate whether Partition::initialize(), <https://trac.webkit.org/browser/trunk/Source/WebCore/contentextensions/DFAMinimizer.cpp?rev=209399#L80>, is reserving too much initial capacity for Partition::m_sets. We should also investigate if Partition::m_sets ever holds more items than its initial capacity. If it never holds more items than its initial capacity then it would be more efficient to implement Partition::addSetUnchecked() in terms of Vector::uncheckedAppend() instead of Vector::append() as the former avoids a bounds check.

-- 
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/20161206/e51891a1/attachment.html>


More information about the webkit-unassigned mailing list