Ryan Schmidt ryandesign at
Fri Dec 23 03:16:15 PST 2011

On Dec 23, 2011, at 04:36, Jeremy Lavergne 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.
> Is it per deactivate command or per port deactivated?

It seems to be per `port` invocation, if any ports were uninstalled. 

More information about the macports-dev mailing list