[Webkit-unassigned] [Bug 210519] New: Use CFArrayGetValues() in createArchiveList() in WebCoreArgumentCodersMac.mm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 14 15:48:08 PDT 2020


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

            Bug ID: 210519
           Summary: Use CFArrayGetValues() in createArchiveList() in
                    WebCoreArgumentCodersMac.mm
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: darin at apple.com
        Depends on: 210448

Use CFArrayGetValues() in createArchiveList() in WebCoreArgumentCodersMac.mm.

Via Darin Adler in Bug 210448, Comment #4:

Separately, I suggest we rewrite this using CFArrayGetValues, rather than calling CFArrayGetValueAtIndex over and over again in a loop. We will still have to loop over the buffer to convert tokenNull into nullptr, but it should be more efficient to do it that way rather than call CFArrayGetValueAtIndex over and over again.

-- 
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/20200414/52d2f3bb/attachment.htm>


More information about the webkit-unassigned mailing list