This repository was archived by the owner on Oct 4, 2020. It is now read-only.
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
toUnfoldable leaks structure #135
Open
Description
toUnfoldable
currently leaks structure by doing a breadth-first traversal of the Map
.
Potential solutions, subsequent to benchmarking:
-
If it turns out that
toUnfoldable
really isn't faster thantoAscUnfoldable
, thentoUnfoldable = toAscUnfoldable
should be a simple fix. It would break anything that was depending on the order oftoUnfoldable
, which is not what people should be doing. Maybe you also deprecatetoAscUnfoldable
. -
Put some sort of constraint on
toUnfoldable
to ensure that it unfolds to a structure where ordering is not important? -
Place a strongly worded, ugly warning comment on
toUnfoldable
.
Other ideas?
Metadata
Metadata
Assignees
Labels
No labels