Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 2008 10:01:22 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        ports@FreeBSD.org, current@FreeBSD.org
Subject:   [patch] Incredible speedup of pkg_add/pkg_delete!
Message-ID:  <1207296082.63664.7.camel@pav.hide.vol.cz>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Here is a patch that greatly speeds up package dependency
registration/deregistration on install/deinstall, especially for
packages with huge numbers of dependencies.

I plan to commit it to -CURRENT in a week. I'd like to get some reviews
and wider testing exposure before I do that.

Instructions:

1) pull down src/usr.sbin/pkg_install from cvs HEAD
2) patch it with http://people.freebsd.org/~pav/origin-matching.diff
3) make install clean
4) test test test

PS you might need to stick MK_OPENSSL=yes into Makefile.inc

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Squish. Larger than the normal icky things, and twice as icky.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkf14FIACgkQntdYP8FOsoKRPACfbNAAdB+zU70Zvg1X8w8NDRxh
3Z8AnisPsStZHISStpO9pcmTm7ncPFO8
=3RIa
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1207296082.63664.7.camel>