Re:Make your own build system
by AstralStorm on Thursday March 08, 2018 @08:17AM
(#16544114)
Heck, 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.
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)