Date: Fri, 10 Feb 2006 17:03:25 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup misc.c Message-ID: <200602101703.k1AH3POX030449@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602101703.k1AH3POX030449>