[pacman-dev] [PATCH] repo-add: use bsdtar optimization for better performance

Dan McGee dpmcgee at gmail.com
Wed Jun 17 07:42:55 EDT 2009


On Wed, Jun 17, 2009 at 12:03 AM, Pierre Schmitz<pierre at archlinux.de> wrote:
> On Wednesday 17 June 2009 03:10:27 Dan McGee wrote:
>> The bsdtar -q option is very similar to the GNU tar --occurrence=1 option.
>
> Good catch. I tested this myself yesterday and just wondered why there was a
> delay even if the PKGINFO files was already read and printed. Does this mean
> that now extracting PKGINFO can be done in constant time no matter how big the
> package is?

This should be the case, as long as .PKGINFO is always the first file
in the archive. makepkg ensures this when it zips, but anyone playing
tricks could screw this up- however, that just means these packages
would take longer.

-Dan


More information about the pacman-dev mailing list