Haskell中的平行编程
我最近正在Haskell学习并行编程。我已经将并行库导入到我的代码中。我的数据量足够大(多达5亿)。我指定在GHC平台上运行的不同线程。但是,线程越多,运行时间越长,问题是什么,数据量不够大?还是我自己的并行环境未正确配置? [1]: https://i.sstatic.net/gs3s3s2.png [2]: https://i.sstatic.net/ah0rq.png [3]: https://i.sstatic.net/ngy40.png
I am learning parallel programming in Haskell recently. I have imported the parallel library into my code. My data volume is large enough (up to 500 million). I specify different threads to run on the GHC platform. However, the more threads, the more The running time is longer, what is the problem, is the amount of data not large enough? Or is my own parallel environment not configured correctly?
[1]: https://i.sstatic.net/gs3s2.png
[2]: https://i.sstatic.net/aH0Rq.png
[3]: https://i.sstatic.net/ngY40.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论