Unverified Commit a16a8a52 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Generate a balanced tree with reduceTree (#2318) (#2499)



The difference in logic depth for various paths now has a maximum of 1.

Also make treeReduce order the same for 2.12 and 2.13

.grouped(_) returns an Iterator
.toSeq on an Iterator returns a Stream in 2.12 and a List in 2.13
This can lead to changes in order when bumping from 2.12 to 2.13 that
can be avoided by simply using an eager collection explicitly.

Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
(cherry picked from commit 6975f77f

)

Co-authored-by: default avatarMartin Schoeberl <martin@jopdesign.com>
parent 70da39e1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment