]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: remove redundant possibly expensive heap deallocation
authorRasmus Borup Hansen <rbh@intomics.com>
Mon, 11 Aug 2014 14:07:05 +0000 (15:07 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 11 Aug 2014 14:58:34 +0000 (15:58 +0100)
commit65d8e6906ae8752358b4f96153f7a1c5ccec3789
treed8f24c04dba2cf0cc68c248faaba57f4eb3bb356
parent9bcc626190a7522c2a64dc60bfe0e3910dd4f075
cp: remove redundant possibly expensive heap deallocation

If the hash structures grow sufficiently large so that
the system is actively swapping, then the deallocation
can take a significant amount of time.  Details at:
http://lists.gnu.org/archive/html/coreutils/2014-08/msg00012.html

* src/cp.c (main): Only call hash deallocation routines
when in lint checking mode.
* THANKS.in: Remove as now in the git author list.
THANKS.in
src/cp.c