Results 1 to 4 of 4

Thread: Yet another LZP/PPM compressor

  1. #1
    Member RichSelian's Avatar
    Join Date
    Aug 2011
    Location
    Shenzhen, China
    Posts
    156
    Thanks
    18
    Thanked 50 Times in 26 Posts

    Yet another LZP/PPM compressor

    I finished the project a few months ago, but didn't make ​​it public: https://github.com/richox/slimox
    The original goal of the project is to catch up with Ilia's close-source ppmx, but seems failed.

  2. The Following 2 Users Say Thank You to RichSelian For This Useful Post:

    encode (16th June 2013),samsat1024 (16th June 2013)

  3. #2
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,255
    Thanks
    306
    Thanked 778 Times in 485 Posts
    Something seems to be wrong:

    Code:
    C:\res>slimox e enwik8 enwik8.slimox
    ============================================
     comprox: an LZP-PPM compressor/archiver
     written by Zhang Li <richselian@gmail.com>
    ============================================
    encoding enwik8 to enwik8.slimox...
    warning: cannot open 'enw'.
    encode done in 0.02sec
    
    C:\res>slimox e calgary calgary.slimox
    ============================================
     comprox: an LZP-PPM compressor/archiver
     written by Zhang Li <richselian@gmail.com>
    ============================================
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    encoding calgary to calgary.slimox...
    encode done in 0.04sec
    Built in Windows Vista using "make CC=gcc"
    gcc version 4.8.0 (rev1, Built by MinGW-builds project)

    Edit: built under Ubuntu with just "make". enwik9 compresses to 203,477,107 but decompression fails with output size 583,843,840. Looks like a prefix of the original file. enwik8 decompression was OK.
    Last edited by Matt Mahoney; 16th June 2013 at 22:23.

  4. #3
    Member RichSelian's Avatar
    Join Date
    Aug 2011
    Location
    Shenzhen, China
    Posts
    156
    Thanks
    18
    Thanked 50 Times in 26 Posts

    Talking

    Quote Originally Posted by Matt Mahoney View Post
    Something seems to be wrong:

    Code:
    C:\res>slimox e enwik8 enwik8.slimox
    ============================================
     comprox: an LZP-PPM compressor/archiver
     written by Zhang Li <richselian@gmail.com>
    ============================================
    encoding enwik8 to enwik8.slimox...
    warning: cannot open 'enw'.
    encode done in 0.02sec
    
    C:\res>slimox e calgary calgary.slimox
    ============================================
     comprox: an LZP-PPM compressor/archiver
     written by Zhang Li <richselian@gmail.com>
    ============================================
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    warning: cannot stat 'cal'.
    encoding calgary to calgary.slimox...
    encode done in 0.04sec
    Built in Windows Vista using "make CC=gcc"
    gcc version 4.8.0 (rev1, Built by MinGW-builds project)

    Edit: built under Ubuntu with just "make". enwik9 compresses to 203,477,107 but decompression fails with output size 583,843,840. Looks like a prefix of the original file. enwik8 decompression was OK.
    I fixed some bugs, try it again?

  5. #4
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,255
    Thanks
    306
    Thanked 778 Times in 485 Posts
    Same problem still. I downloaded the zip file from https://github.com/richox/slimox and compiled with MinGW gcc 4.8.0 in 32 bit Vista with "make CC=gcc". Another example:

    Code:
    C:\res>slimox e enwik8 x.slimox
    ============================================
     comprox: an LZP-PPM compressor/archiver
     written by Zhang Li <richselian@gmail.com>
    ============================================
    encoding enwik8 to x.slimox...
    warning: cannot open 'enw'.
    encode done in 0.02sec
    Edit: compiled in Linux OK with "make". enwik8 is OK. Decompressing enwik9 gave a segmentation fault after 322 MB of output.
    Last edited by Matt Mahoney; 1st August 2013 at 17:34.

Similar Threads

  1. TinyLZP - A very simple LZP compressor
    By david_werecat in forum Data Compression
    Replies: 8
    Last Post: 15th October 2012, 03:05
  2. Crook, a new binary PPM compressor
    By valdmann in forum Data Compression
    Replies: 25
    Last Post: 19th March 2012, 17:12
  3. PPMX v0.05 - new PPM-based compressor
    By encode in forum Data Compression
    Replies: 49
    Last Post: 28th July 2010, 02:47
  4. flzp, new LZP compressor/preprocessor
    By Matt Mahoney in forum Data Compression
    Replies: 13
    Last Post: 23rd June 2008, 17:24
  5. FLASHZIP new ARI+LZP compressor
    By Nania Francesco in forum Forum Archive
    Replies: 65
    Last Post: 5th February 2008, 22:42

Posting Permissions

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