haiku/headers/build/private
Ingo Weinhold 1f633814fa hpkg format: compress the whole heap
Instead of handling compression for individual file/attribute data we
do now compress the whole heap where they are stored. This
significantly improves compression ratios. We still divide the
uncompressed data into 64 KiB chunks and use a chunk offset array for
the compressed chunks to allow for quick random access without too much
overhead. The tradeoff is a limited possible compression ratio -- i.e.
we won't be as good as tar.gz (though surprisingly with my test
archives we did better than zip).

The other package file sections (package attributes and TOC) are no
longer compressed individually. Their uncompressed data are simply
pushed onto the heap where the usual compression strategy applies. To
simplify things the repository format has been changed in the same
manner although it doesn't otherwise use the heap, since it only stores
meta data.

Due to the data compression having been exposed in public and private
API, this change touches a lot of package kit using code, including
packagefs and the boot loader packagefs support. The latter two haven't
been tested yet. Moreover packagefs needs a new kind of cache so we
avoid re-reading the same heap chunk for two different data items it
contains.
2013-05-25 01:12:25 +02:00
..
app * Added KMessage to libroot_build. 2011-06-14 11:42:49 +00:00
interface Add private MIME DB classes to libbe_build 2013-05-08 04:39:56 +02:00
kernel Added several APIs to libbe_build/libshared_build 2011-07-17 16:54:09 +02:00
package hpkg format: compress the whole heap 2013-05-25 01:12:25 +02:00
shared Add missing build header Referenceable.h 2013-04-13 02:04:00 +02:00
storage Add te MimeInfoUpdater to libbe_build 2013-05-09 03:19:25 +02:00
support BString::Private class to access BString internals 2011-07-17 16:55:20 +02:00
system Fix build due to <directories.h> move 2011-07-17 16:55:22 +02:00