3 ms·
> The 10s delay is caused by the correct handling of dependency in a full source tree (around 5000 source files) There is something awfully wrong if processing
by jstimpfle 9y ago
> The 10s delay is caused by the correct handling of dependency in a full source tree (around 5000 source files)
There is something awfully wrong if processing 5000 files and cached dependendencies takes 10s. It should take a few ms at most, even if written in a scripting language like Python. I would not be surprised if this is because that build system heavily misuses GNU Make's variable substitution features, instead of being written in a language that features proper data structures (e.g. set, map)
- AstralStorm 9y agoHeck, even cmake does this better then without fancy data structures. My bet is this either does many shell calls or wildcards multiple times through file system.