Speeding up DCD in big projects

Bruce Carneal bcarneal at gmail.com
Tue Jul 21 16:46:23 UTC 2020


On Tuesday, 21 July 2020 at 12:53:10 UTC, WebFreak001 wrote:
> Essential to this were `nothrow` overloads of isFile/isDir in 
> std.file, which I now manually implemented. Having functions 
> for those in phobos would be awesome and clearly would offer 
> huge performance improvements.

Was the change to nothrow the only alteration?  I ask because I 
thought that a move to nothrow only wins big if it enables 
inlining within a hot loop.

Perhaps your manual implementation wins in other ways?









More information about the Digitalmars-d mailing list