DragonFly BSD
DragonFly commits List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/make dir.c dir.h lst.h

From: Max Okumoto <okumoto@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Feb 2005 02:02:27 -0800 (PST)

okumoto     2005/02/23 02:02:27 PST

DragonFly src repository

  Modified files:
    usr.bin/make         dir.c dir.h lst.h 
  Merged in three patches to cleanup the code by Harti.
  o 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.
  o Use the new LST_FOREACH macro throughout the file and replace
    calls to Lst_ForEach and Lst_Find.
  o Fix the prototypes by addings some constness.
  Date: 2005/02/22 07:58:53
  Date: 2005/02/22 08:00:06
  Date: 2005/02/22 08:17:05
  Author: harti
  Taken-from: FreeBSD
  Revision  Changes    Path
  1.32      +20 -70    src/usr.bin/make/dir.c
  1.16      +2 -2      src/usr.bin/make/dir.h
  1.23      +4 -0      src/usr.bin/make/lst.h


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]