Bug 246140

Summary: [WTF] Implement "reduce" function on WTF::Vector
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matthieu Dubet
Reported 2022-10-06 02:15:59 PDT
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)
Attachments
Matthieu Dubet
Comment 1 2022-10-06 02:41:22 PDT
Radar WebKit Bug Importer
Comment 2 2022-10-13 02:16:16 PDT
Note You need to log in before you can comment on or make changes to this bug.