A better way to code this...

Dave Dave_member at pathlink.com
Fri May 12 13:23:34 PDT 2006


There's got to be a better way to do this:
http://shootout.alioth.debian.org/gp4/benchmark.php?test=message&lang=dlang&id=0

The current code uses two semaphores to keep things in-sync, but I think
there must be a better way.

The 'rules' for this test are at the bottom of the page here:
http://shootout.alioth.debian.org/gp4/benchmark.php?test=message&lang=all

Anyone want to have a go at it? If so, post it here and I'll take care
of posting it on the Shootout (make sure to put your name in the comments!).

Thanks,

- Dave



More information about the Digitalmars-d-learn mailing list