Some lazy code to D
Caligo
iteronvexor at gmail.com
Tue Aug 28 18:49:06 PDT 2012
Did you time the runs?
Non-lazy D version, compiled as -O -inline -release, and ran with pick(6,
11):
real 0m8.587s
user 0m8.497s
sys 0m0.012s
Lazy D version, compiled as -O -inline -release, and ran with pick(6, 11):
real 0m4.195s
user 0m4.168s
sys 0m0.008s
Haskell version, compiled as -O2, and ran with pick(6, 11):
real 0m0.159s
user 0m0.116s
sys 0m0.028s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120828/87642f39/attachment.html>
More information about the Digitalmars-d
mailing list