[Webkit-unassigned] [Bug 247533] New: map and compactMap functions sometimes copy the passed in collection before mapping it to a vector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 5 12:42:57 PDT 2022


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

            Bug ID: 247533
           Summary: map and compactMap functions sometimes copy the passed
                    in collection before mapping it to a vector
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: darin at apple.com

Noticed by code inspection that the map and compactMap functions are copying the collections passed to them. Add a test for this and fix it.

-- 
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/20221105/6997ed2c/attachment.htm>


More information about the webkit-unassigned mailing list