cvs commit: src/usr.bin/make lst.h
Hartmut Brandt
harti at FreeBSD.org
Tue Feb 22 07:58:53 GMT 2005
harti 2005-02-22 07:58:53 UTC
FreeBSD src repository
Modified files:
usr.bin/make lst.h
Log:
Invent the LST_FOREACH macro for looping through a list. In contrast
to the Lst_ForEach function this macro reduces the number of function
calls per invocation by N + 1 (where N is the number of list elements)
and increases code locality thereby increasing readability and
(maybe) performance.
Revision Changes Path
1.29 +4 -0 src/usr.bin/make/lst.h
More information about the cvs-src
mailing list