Re:Efficient Amortised and Real-Time Queues in Haskell
by jeremyjh on Saturday January 16, 2016 @09:39AM
(#10915356)
It can be stunning the first few times you see this sort of thing, but Haskell run time performance is not that hard to reason about it - is simply different from strict languages. As an experienced Haskeller I could see their point at the definition of the data structure and operations. In fact there is an entire data structure library built around this idea of O(1) snoc/appends, the dlist: https://hackage.haskell.org/package/dlist-0.7.1.2
[ Parent
| on HN ]
There are no comments on this comment yet.