Module Name: src Committed By: rillig Date: Sat Aug 29 20:20:44 UTC 2020
Modified Files: src/usr.bin/make: targ.c Log Message: make(1): use loops instead of Lst_ForEach for propagating to cohorts For one-liners, Lst_ForEach creates a lot of overhead, both at runtime and for reading and understanding the code. In this simple case where the structure of the traversed nodes is not modified, a simple loop is enough. This avoids a lot of conversions to void * and thus prevents type mistakes. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/usr.bin/make/targ.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.