We're updating the issue view to help you get more done. 

Iterator based reduce path

Description

In Clojure, when reducing collections which do not support IReduce but are Iterable, reduce uses the iter-reduce function to efficiently reduce these collections. Maps based on PersistentArrayMap and PersistentHashMap and the PersistentHashSet set type would immediately benefit from this. PersistentTreeMap and PersistentTreeSet currently do not support IIterator and would continue to fall back to the current seq-reduce.

Environment

None

Status

Assignee

Thomas Mulvaney

Reporter

Thomas Mulvaney

Labels

Approval

Accepted

Patch

Code

Fix versions

Affects versions

1.9.562

Priority

Minor