阅读背景:

如何减少Haskell应用程序中的内存使用量?

来源:互联网 

I am new to functional programming, and now learn Haskell. As an exercise I decided to implement the explicit Euler method for 1D linear diffusion equation. While the code below works correctly, I am not happy about its performance. In fact, I am concerned with memory consumption. I believe that it is related to lazy evaluation, but cannot figure out how I can reduce its memory usage.I am new to functional programming, and now lea




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: