Implement IKVReduce for java.util.map

Description

reduce works on Java maps, but reduce-kv does not:

It's trivial to destructure arguments in a regular reduce, but there are performance implications. The following example yields a 7x speed up when run with the implementation of reduce-kv for java.util.Map as implemented in this patch:

Environment

None

Assignee

Unassigned

Reporter

import

Labels

Approval

Triaged

Patch

Code

Affects versions

Priority

Minor
Configure