Date: Mon, 9 Sep 2002 01:00:32 -0700 (PDT) From: Maxim Sobolev <sobomax@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/version perform.c version.h Message-ID: <200209090800.g8980W9T021683@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2002/09/09 01:00:32 PDT Modified files: usr.sbin/pkg_install/version perform.c version.h Log: Vastly decrease amount of memory comsumed in the case when we have to read ports/INDEX, by allocating eactly amount of memory necessary for storing each particular entry, insdead of 4K per entry (more than 7000 entries - go figure). Memory consumption went down to some 500K from some 30M. Revision Changes Path 1.3 +9 -2 src/usr.sbin/pkg_install/version/perform.c 1.2 +2 -2 src/usr.sbin/pkg_install/version/version.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209090800.g8980W9T021683>