4 ms·
I tried haskell queues a while ago - under the advice of a friend and compared with a straightforward C++ queue - it was about 100x slower. Abandoned the idea.
by NotThe1Pct 10y ago
I tried haskell queues a while ago - under the advice of a friend and compared with a straightforward C++ queue - it was about 100x slower. Abandoned the idea.
- bbcbasic 10y agoLet me guess ... you used [a]
- sammoth 10y agoWhat are you implying? What should they have used?
- tome 10y agoThe list datatype is horrendously unsuited for being used a queue. They should have used a datatype designed for use as a queue.
- bbcbasic 10y agoThere are better pure queue types and STM channels and suchlike that are designed for the job, so if bench-marking then you want to be fair to Haskell and use the right type.
- 59nadir 10y agoYou should do a write-up on it and show your tests. As it stands, this post has almost no real value for anyone else and no one knows anything about what you used and how.