Python faster than compiled Haskell?

前端 未结 7 1309
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-29 23:16

I have a simple script written in both Python and Haskell. It reads a file with 1,000,000 newline separated integers, parses that file into a list of integers, quick sorts i

7条回答
  •  余生分开走
    2020-11-29 23:40

    Python is really optimized for this sort of thing. I suspect that Haskell isn't. Here's a similar question that provides some very good answers.

提交回复
热议问题