--- - branch: MAIN date: Sat Aug 29 20:20:44 UTC 2020 files: - new: '1.78' old: '1.77' path: src/usr.bin/make/targ.c pathrev: src/usr.bin/make/targ.c@1.78 type: modified id: 20200829T202044Z.b6cb18801c98b681aa689a6375deaa90340ff942 log: | 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. module: src subject: 'CVS commit: src/usr.bin/make' unixtime: '1598732444' user: rillig