4x speedup of recursive rmdir in std.file
Nick Sabalausky
a at a.a
Sat Feb 4 16:14:42 PST 2012
"Jay Norwood" <jayn at prismnet.com> wrote in message
news:jgkfdf$qb5$1 at digitalmars.com...
> It would be good if the std.file operations used the D multi-
> thread features, since you've done such a nice job of making them
> easy. I hacked up your std.file recursive remove and got a 4x
> speed-up on a win7 system with corei7 using the examples from the
> D programming language book. Code is below with a hard-coded file
> I was using for test. I'm just learning this, so I know you can
> do better ...
>
> Delete time dropped from 1minute 5 secs to less than 15 secs.
> This was on an ssd drive.
>
Interesting. How does it perform when just running on one core?
More information about the Digitalmars-d-announce
mailing list