Bradley Giesbrecht pixilla at
Fri Dec 23 08:20:52 PST 2011

On Dec 23, 2011, at 2:26 AM, Ryan Schmidt wrote:

> One of the changes in MacPorts 2.0.0 was:
>    - The registry is now "vacuumed" (compacted/defragmented) after
>      uninstalling ports. (jmr in r70608)
> On my system this process seems to take 45 seconds. This adds up, as I typically uninstall multiple ports daily, in the course of testing and upgrading ports. If the purpose of vacuuming is just to save space in the registry, would it be feasible to only vacuum sometimes, e.g. after say 10 ports have been uninstalled? Or possibly time-based, e.g. if the registry has not been vacuumed in > 24 hours? My registry is 162MB; I think keeping a few extra unvacuumed entries in there temporarily won't increase that significantly.

Or when port has no error and has run out of things to do.

Bradley Giesbrecht (pixilla)

More information about the macports-dev mailing list