All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][UPDATED] support for xz compression format
@ 2010-02-04 21:01 Szymon Janc
  2010-02-16 13:12 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 10+ messages in thread
From: Szymon Janc @ 2010-02-04 21:01 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: Text/Plain, Size: 1095 bytes --]

Hello,

New version of xz compression patch.
Changes since then:
- it works now :-)
- decoder dictionary can be enlarge up to DICT_BIT_SIZE defined in xz_lzma2.h
 (currently set to 30 = 128MiB)
- xz uses crc32 from libgcrypt-grub, internal crc implementation removed
- removed linux kernel related code from xz
- get rid of some not needed memcpy() calls
- xzio.mod stuff made according to Vladimir's comments
- simplified wraper (only 1 file - xz_wrap.h)
- number of other improvments and tons of bugfixes
- files licence changed from public domain to gpl3+

This patch also changes gnulib-wrap.h true/false definitions to make them truly
constants.

TODO and other questions:
- lack of file seek support, if files is compressed with small block size, it is 
  possible to implement pseudo-random access
- what is optimal i/o buffer size? like BUFSIZ macro in glibc
- default dictionary size should be chosen for files compression
- still need to do performance tests
- introduce some common layer for xzio/gzio etc ?

Comments are welcome

-- 
Szymon K. Janc
szymon@janc.net.pl // GG: 1383435

[-- Attachment #2: xz.diff.gz --]
[-- Type: application/x-gzip, Size: 25741 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-02-16 22:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04 21:01 [PATCH][UPDATED] support for xz compression format Szymon Janc
2010-02-16 13:12 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-16 13:27   ` Szymon Janc
2010-02-16 13:44     ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-16 18:58       ` Szymon Janc
2010-02-16 21:11         ` richardvoigt
2010-02-16 21:28           ` Seth Goldberg
2010-02-16 21:46             ` richardvoigt
2010-02-16 22:04           ` Szymon Janc
2010-02-16 22:18             ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.