cvs commit: projects/csup misc.c

Maxime Henrion <[email protected]> Fri, 10 Feb 2006 17:03:25 +0000 (UTC)
Newsgroups gmane.os.freebsd.devel.cvs.projects
Message-ID <200602101703.k1AH3POX030449__14227.6142993525$1139620423$gmane$org@repoman.freebsd.org>
mux         2006-02-10 17:03:25 UTC

  FreeBSD projects repository

  Modified files:
    csup                 misc.c 
  Log:
  Optimize mkdirhier() by minimizing the number of calls to access() we
  do and avoiding to allocate a file attribute if no directory creation
  is needed.  The previous version was horrible in that we were doing a
  lot of access() calls on average, which was bad since we call
  mkdirhier() once per updated file.
  
  Revision  Changes    Path
  1.25      +37 -13    projects/csup/misc.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-projects
To unsubscribe, send any mail to "[email protected]"