Speeding up importing Phobos files
Adam D. Ruppe
destructionator at gmail.com
Tue Jan 22 03:26:37 UTC 2019
BTW
dmd2/src/phobos$ time cat `find . | grep -E '\.d$'` > catted.d
real 0m0.015s
user 0m0.006s
sys 0m0.009s
$ wc catted.d
319707 1173911 10889167 catted.d
If it were the filesystem at fault, shouldn't that I/O heavy
operation take a significant portion of the dmd runtime?
Yes, I know the kernel is caching these things and deferring
writes and so on. But it does that for dmd too! Blaming the
filesystem doesn't pass the prima facie test, at least on Linux.
Maybe Windows is different, I will try that tomorrow, but I
remain exceedingly skeptical.
More information about the Digitalmars-d
mailing list