On 09/23/2011 10:07 AM, Christophe wrote:
Timon Gehr , dans le message (digitalmars.D:145067), a écrit :
I did: http://pastebin.com/2rEdx0RD
Nice!
port of some haskell code from RosettaCode (run it ~20 min to get
results, haskell runs in less than 2s)
http://pastebin.com/Vx4hXvaT
The main performance issue is the garbage collector. Turning it off will
help performance a lot if you have enough RAM. Furthermore, DMD does not
do any advanced optimizations
Yes, we would certainly get a lot more performance with a specialized
memory usage. Shuting off the GC and freeing manually delegate context
when they are computed may help a lot.
The trouble is that multiple delegates could share (part of) the same
context.