On Thursday, 20 June 2013 at 21:48:49 UTC, Joseph Rushton
Wakeling wrote:
On 06/04/2013 01:03 PM, Diggory wrote:
Still a few places to optimise, and I think the compiler
optimisation should be
able to give a decent speed up as well. Would be interested to
see how it
compares in your benchmark!
VERY belated apologies for not getting back to you here. I was
preparing an
email on the nice features of RandomSample -- e.g. that you can
use it to sample
lines from a file -- when I realized that actually there was a
bug that stopped
you from doing that:
http://d.puremagic.com/issues/show_bug.cgi?id=10265
So I stopped to prepare a fix, and then I got distracted with a
bunch of things
I realized could be done to improve std.random ... :-P
Anyway, I _will_ do the benchmark. Just might be a little
while.
Haha, no problem!