[Haskell-cafe] ANN: psqueue-benchmarks - benchmarks of priority queue implementations

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Sat Mar 30 02:07:56 CET 2013


Hi Niklas,

> No, it does not stack overflow, and it seems to perform slightly better
> than the other implementations; it also doesn't suffer from the toList
> slowness problem as does listlike.

Thanks. It's nice.

> However, it is probably not as generally usable as it hardcodes the
> priorities to be Doubles.

I think that you can import the tips of GHC PSQ to original PSQ.

P.S.

If you need test cases, you can find some properties for Heap
(priority queue) here:

	https://github.com/kazu-yamamoto/llrbtree/blob/master/test/Heap.hs

You can add some properties relating dilatation to them.

--Kazu



More information about the Haskell-Cafe mailing list