[Webkit-unassigned] [Bug 246140] New: [WTF] Implement "reduce" function on WTF::Vector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 6 02:15:59 PDT 2022


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

            Bug ID: 246140
           Summary: [WTF] Implement "reduce" function on WTF::Vector
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m_dubet at apple.com

WTF::Vector already has a "map" implementation, we should also have a "reduce" (="accumulate",="fold") operation.

https://en.wikipedia.org/wiki/Fold_(higher-order_function)

-- 
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/20221006/8b776ca9/attachment-0001.htm>


More information about the webkit-unassigned mailing list