]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Try to decrease the performance hit of seeking during the bid phase.
authorTim Kientzle <kientzle@gmail.com>
Mon, 21 Nov 2011 00:52:32 +0000 (19:52 -0500)
committerTim Kientzle <kientzle@gmail.com>
Mon, 21 Nov 2011 00:52:32 +0000 (19:52 -0500)
commitbb44a73ac7ea4f0efee36ad41b2a3ec6e43ea512
tree33f8745979cce92e392fa564fbf577fe5136f6b5
parent799f4d1756c1ccb5656d037f1ebd5e6ed37c0ead
Try to decrease the performance hit of seeking during the bid phase.

Tell each bidder about the best bid so far so it can decide
to do nothing.  Reorder support_format_all so formats
with relatively inexpensive bidders will run first.

SVN-Revision: 3822
15 files changed:
libarchive/archive_read.c
libarchive/archive_read_private.h
libarchive/archive_read_support_format_all.c
libarchive/archive_read_support_format_ar.c
libarchive/archive_read_support_format_cab.c
libarchive/archive_read_support_format_cpio.c
libarchive/archive_read_support_format_empty.c
libarchive/archive_read_support_format_iso9660.c
libarchive/archive_read_support_format_lha.c
libarchive/archive_read_support_format_mtree.c
libarchive/archive_read_support_format_rar.c
libarchive/archive_read_support_format_raw.c
libarchive/archive_read_support_format_tar.c
libarchive/archive_read_support_format_xar.c
libarchive/archive_read_support_format_zip.c