News for hackers. Stuff that matters.
Re:A Taste of Haskell by NotThe1Pct on Monday October 24, 2016 @08:12PM (#12784065)
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.
Re:A Taste of Haskell by bbcbasic on Monday October 24, 2016 @09:24PM (#12784452)
Let me guess ... you used [a]
Re:A Taste of Haskell by sammoth on Tuesday October 25, 2016 @08:15AM (#12787207)
What are you implying? What should they have used?
Re:A Taste of Haskell by tome on Tuesday October 25, 2016 @09:12AM (#12787630)
The list datatype is horrendously unsuited for being used a queue. They should have used a datatype designed for use as a queue.
Re:A Taste of Haskell by bbcbasic on Tuesday October 25, 2016 @02:54PM (#12790581)
There 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.
Re:A Taste of Haskell by 59nadir on Tuesday October 25, 2016 @07:34AM (#12786979)
You 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.