Results 1 to 10 of 10

Thread: LZMA decompressor

  1. #1
    Member
    Join Date
    Dec 2012
    Location
    japan
    Posts
    149
    Thanks
    30
    Thanked 59 Times in 35 Posts

    LZMA decompressor

    Only 1020bytes LZMA decompressor written in JavaScript!
    enjoy!
    Attached Files Attached Files

  2. The Following User Says Thank You to xezz For This Useful Post:

    Bulat Ziganshin (27th April 2016)

  3. #2
    Member
    Join Date
    Oct 2009
    Location
    usa
    Posts
    56
    Thanks
    1
    Thanked 9 Times in 6 Posts
    Code it in DOS x86 assember in 1024 bytes, and that would be quite an achievement!

  4. #3
    Member nikkho's Avatar
    Join Date
    Jul 2011
    Location
    Spain
    Posts
    542
    Thanks
    214
    Thanked 163 Times in 104 Posts
    Quote Originally Posted by xezz View Post
    Only 1020bytes LZMA decompressor written in JavaScript!
    enjoy!
    Could you post the unminimized version, so we can review the code?

  5. #4
    Member
    Join Date
    Dec 2012
    Location
    japan
    Posts
    149
    Thanks
    30
    Thanked 59 Times in 35 Posts
    ok, attached includes semi-unminimized and 1017bytes version!
    Attached Files Attached Files

  6. #5
    Member
    Join Date
    Dec 2011
    Location
    Cambridge, UK
    Posts
    437
    Thanks
    137
    Thanked 152 Times in 100 Posts
    Is there an IOJSCC?

    Impressively short too.

  7. #6
    Member
    Join Date
    Dec 2012
    Location
    japan
    Posts
    149
    Thanks
    30
    Thanked 59 Times in 35 Posts
    Is there an IOJSCC?
    What is it mean?

  8. #7
    Member
    Join Date
    Nov 2015
    Location
    ?l?nsk, PL
    Posts
    81
    Thanks
    9
    Thanked 13 Times in 11 Posts
    Quote Originally Posted by xezz View Post
    What is it mean?
    International Obfuscated JavaScript Coding Contest

  9. #8
    Member
    Join Date
    Dec 2011
    Location
    Cambridge, UK
    Posts
    437
    Thanks
    137
    Thanked 152 Times in 100 Posts
    Correct. I doubt it exists, but I modified the name from the International Obfuscated C Code Contest (IOCCC), for which this looks like a suitable entry!

    I assume the obfuscation is mainly for fun and also for maximum shrinkage. I can see the enjoyment in that persuit.

  10. #9
    Member
    Join Date
    Dec 2012
    Location
    japan
    Posts
    149
    Thanks
    30
    Thanked 59 Times in 35 Posts
    I assume the obfuscation is mainly for fun and also for maximum shrinkage. I can see the enjoyment in that persuit.
    Me too. js1k is my favorit site. At last, code size is smaller than 1000bytes!
    Attached Files Attached Files
    Last edited by xezz; 19th May 2016 at 17:31.

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

    JamesB (3rd May 2016),nikkho (29th April 2016)

  12. #10
    Member
    Join Date
    Dec 2012
    Location
    japan
    Posts
    149
    Thanks
    30
    Thanked 59 Times in 35 Posts
    lzma-d5 includes 2 versions. 896 and 887bytes.
    Attached Files Attached Files

Similar Threads

  1. LZSSE: fast x86_64 SIMD decompressor
    By freshmeat in forum Data Compression
    Replies: 18
    Last Post: 22nd April 2017, 22:10
  2. Looking for a super-simple decompressor
    By m^2 in forum Data Compression
    Replies: 13
    Last Post: 26th April 2015, 07:36
  3. Replies: 4
    Last Post: 8th March 2014, 15:50
  4. Fastest decompressor!?
    By Sanmayce in forum Data Compression
    Replies: 66
    Last Post: 13th April 2011, 01:18
  5. Dummy Static [Windowless] Dictionary Text Decompressor
    By Sanmayce in forum Data Compression
    Replies: 4
    Last Post: 12th October 2010, 18:55

Posting Permissions

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