Results 1 to 10 of 10

Thread: Gzip 1.2.4 hack (OpenWatcom compiles)

  1. #1
    Member
    Join Date
    Jun 2008
    Location
    USA
    Posts
    111
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Gzip 1.2.4 hack (OpenWatcom compiles)

    I have seen Ilia M.'s Gzip 1.2.4 hack before (news://comp.compression), it's nice, but it never compiled for me. Now I notice that it's missing a prototype for deflate_max(). And yet still some compilers don't seem to like it (DJGPP, at least the output doesn't match, it's worse!). Nevertheless, I somehow stumbled upon how to build it with OpenWatcom 1.8, and that works fine, so now I have both Win32 (smaller!) and DOS builds.

    http://rugxulo.googlepages.com/gzhakwat.zip (311k, includes everything!!)

    P.S. I tried searching for a pre-existing topic about this, but apparently I'm a robot spammer because all my (10+) attempts to read the captcha failed !!!

  2. #2
    Member
    Join Date
    Jun 2008
    Location
    USA
    Posts
    111
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Rugxulo View Post
    some compilers don't seem to like it (DJGPP, at least the output doesn't match, it's worse!).
    Seems to work correctly with DJGPP (GCC) only if I define -DNO_ASM and remove any mention of match.S from the makefile. Just FYI in case anyone else gets frustrated !!

  3. #3
    Member
    Join Date
    Apr 2009
    Location
    The Netherlands
    Posts
    49
    Thanks
    0
    Thanked 3 Times in 2 Posts
    [offtopic && if I'm correct]
    Concrats with the 2^8th topic
    [/offtopic]

  4. #4
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Thumbs up

    Thanks Rugxulo!

  5. #5
    Member
    Join Date
    May 2009
    Location
    CA USA
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What is this hack? I poked around comp.compression and couldn't find any reference except this one.

  6. #6
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,501
    Thanks
    741
    Thanked 664 Times in 358 Posts
    Quote Originally Posted by GerryB View Post
    What is this hack? I poked around comp.compression and couldn't find any reference except this one.
    try to search on the old forum

  7. #7
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,982
    Thanks
    377
    Thanked 351 Times in 139 Posts
    Quote Originally Posted by GerryB View Post
    What is this hack? I poked around comp.compression and couldn't find any reference except this one.
    Are you sure? And how about this one?

  8. #8
    Member
    Join Date
    May 2008
    Location
    Germany
    Posts
    410
    Thanks
    37
    Thanked 60 Times in 37 Posts
    "Deflate with better parsing
    ... leading higher compression
    without breaking compatibility ..."

    do you know pigz by Mark Adler ?

    http://www.zlib.net/pigz/

    - "parallel implementation of gzip"
    - "is a fully functional replacement for gzip"
    - "exploits multiple processors and multiple cores ..."

    win32-binary by Eduardo Terol

    the binary and the source-code
    is downloadable from
    http://www.leszer.net/index.php/my-software.html

    but the output-file from pigz
    seems not to be identically
    with the output-file from gzip

    it is a very interesting program
    but i think
    the program needs more testing
    by several people

    can you please do a test too?

  9. #9
    Tester
    Black_Fox's Avatar
    Join Date
    May 2008
    Location
    [CZE] Czechia
    Posts
    471
    Thanks
    26
    Thanked 9 Times in 8 Posts
    multi-processor support =/= better parsing
    I am... Black_Fox... my discontinued benchmark
    "No one involved in computers would ever say that a certain amount of memory is enough for all time? I keep bumping into that silly quotation attributed to me that says 640K of memory is enough. There's never a citation; the quotation just floats like a rumor, repeated again and again." -- Bill Gates

  10. #10
    Member
    Join Date
    May 2008
    Location
    Germany
    Posts
    410
    Thanks
    37
    Thanked 60 Times in 37 Posts
    you are right of course

    but such a multicore-/multiprocessor-implementation

    is a test worth

    isn?t it?

    best regards

Similar Threads

  1. gzip-1.2.4-hack - a hacked version of gzip
    By encode in forum Forum Archive
    Replies: 63
    Last Post: 10th September 2007, 05:16
  2. Parallel implmentation of gzip: pigz
    By nimdamsk in forum Forum Archive
    Replies: 2
    Last Post: 13th March 2007, 21:44

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •