4 ms·
The make variable interpolator may not be as optimized as the javascript function spawner.
by tedunangst 9y ago
The make variable interpolator may not be as optimized as the javascript function spawner.
- TheSoftwareGuy 9y agoI wouldn't be so sure about that. make has been around for several decades now, and it affects the build times of a huge number of projects. Most common versions of make have been very tightly optimized, in ways that you might not expect.
- coldtea 9y agoYeah, but it still shouldn't matter, because there's not much to optimize: string substitution is inherently fast. But it's what your sibling comment said that I missed: it might not just be string interpolation, it could bound to a shell command's result etc -- which would then be executed at every occurrence.