[Haskell-cafe] Destructive updates to plain ADTs
johan.tibell at gmail.com
Sun Sep 9 11:24:47 CEST 2012
On Sun, Sep 9, 2012 at 2:19 AM, MigMit <miguelimo38 at yandex.ru> wrote:
> Why modify it instead of creating the new one and let the previous tree get garbage collected?
You can avoid a bunch of copying and allocation by modifying the nodes
for some numbers.
More information about the Haskell-Cafe