Date: Tue, 22 Feb 2005 07:58:53 +0000 (UTC) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make lst.h Message-ID: <200502220758.j1M7wr88013309@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502220758.j1M7wr88013309>