digitalmars.D.bugs - [Issue 11827] New: rdmd makes too many stat() calls, of which many are not traced
- d-bugmail puremagic.com (24/24) Dec 26 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11827
https://d.puremagic.com/issues/show_bug.cgi?id=11827 Summary: rdmd makes too many stat() calls, of which many are not traced Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrei erdani.com PST --- https://github.com/D-Programming-Language/tools/pull/64 introduces this. Basically calls like exists("filename") and isDir("filename") make one stat call each, whereas calling stat once offers all information. The extra calls are not recorded with yap() either. Excessive stat() calls are a major scalability issue. Arguably the best fix would be to offer a nice API as noted in the pull request. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 26 2013