Page 5 of 5 FirstFirst ... 345
Results 121 to 131 of 131

Thread: GDC Competition: Discussions

  1. #121
    Member
    Join Date
    May 2020
    Location
    Berlin
    Posts
    69
    Thanks
    14
    Thanked 23 Times in 18 Posts
    Quote Originally Posted by lz77 View Post
    Error 0xC0000005 means only writing to unallocated memory, not reading?
    Could be both. Reason could for example be accessing something via a freed pointer or outside of allocated memory arrays.

  2. Thanks:

    lz77 (22nd November 2020)

  3. #122
    Member lz77's Avatar
    Join Date
    Jan 2016
    Location
    Russia
    Posts
    140
    Thanks
    43
    Thanked 14 Times in 10 Posts
    Quote Originally Posted by Dresdenboy View Post
    That result sounds good!
    Thanks. If I knew in June where is the right category for my participation, I would make a preprocessor and write these dll's in FASM for Win64...

    Quote Originally Posted by Dresdenboy View Post
    You might need to build a very small C console app to test it. The free Visual Studio Express might help here.
    Unfortunately I haven't practiced in C yet. Maybe someone will send me this C test program for CodeBlocks... Here is my Delphi 7 example. It gives dll contents of file named "bl00.dat" and writes the compressed data to a file named "packed".

    P.S. packedsize is a var parameter and passed to dll by pointer. Here's a declaration from the dll:
    Code:
    type pb = ^byte;
    ...
    function encodeRun(inSize: dword; inPtr: pb; var outSize: dword; outPtr: pb; cmprContext: pointer): longint; cdecl;
    Attached Files Attached Files

  4. #123
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    4,013
    Thanks
    302
    Thanked 1,327 Times in 759 Posts
    Kennon Conrad just posted his framework in other thread - https://encode.su/threads/1909-Tree-...ll=1#post67549
    You can rename your dll to GLZA.dll and see what happens.
    Reposting the binaries here, because he missed a mingw dll.
    Attached Files Attached Files

  5. Thanks (2):

    Dresdenboy (22nd November 2020),lz77 (23rd November 2020)

  6. #124
    Member lz77's Avatar
    Join Date
    Jan 2016
    Location
    Russia
    Posts
    140
    Thanks
    43
    Thanked 14 Times in 10 Posts
    I just saw where the error is: It happened while adapting my subroutine to the conditions of the competition. I confused the name of one variable.

  7. #125
    Member
    Join Date
    May 2020
    Location
    Berlin
    Posts
    69
    Thanks
    14
    Thanked 23 Times in 18 Posts

  8. Thanks:

    lz77 (23rd November 2020)

  9. #126
    Member lz77's Avatar
    Join Date
    Jan 2016
    Location
    Russia
    Posts
    140
    Thanks
    43
    Thanked 14 Times in 10 Posts
    Quote Originally Posted by Shelwien View Post
    You can rename your dll to GLZA.dll and see what happens.
    Hm, when I run TestGLZAdll.exe in test.bat for my compress dll renamed to GLZA.dll, I get error "TestGLZAdll.exe - application error 0xc000007b"...
    The test works correct with original GLZA.dll.

    Oh, the original GLZA.dll also contains both decodeInit & decodeRun, but I have separate dll's for encoding and decoding. Perhaps this is the reason for the error...

  10. #127
    Member lz77's Avatar
    Join Date
    Jan 2016
    Location
    Russia
    Posts
    140
    Thanks
    43
    Thanked 14 Times in 10 Posts
    Quote Originally Posted by Dresdenboy View Post
    Did you manage to finish something?
    I just yesterday fixed the last hard-to-find bug that occurred while adapting the dll to the conditions of the competition. My dlls are accepted for participation. The result is better than ULZ, but weak. Hope to take 5th place...

    Quote Originally Posted by Dresdenboy View Post
    My from scratch implementation with hash based LZ77 and some form of my own ANS lands at ~126*10^6 bytes in 6 s for the open part without much tuning and throwing out some more complex ideas.
    What is the ratio without using ANS? What did you squeeze with ANS: literals and higher 8 bit offsets?

    How does zstd compress 1 GB to 280 MB in rapid test? Does it use any historical buffer for this?
    Last edited by lz77; 27th November 2020 at 12:02.

  11. #128
    Member
    Join Date
    Apr 2020
    Location
    Russia
    Posts
    45
    Thanks
    0
    Thanked 31 Times in 14 Posts
    Quote Originally Posted by lz77 View Post
    Hope to take 5th place...
    There are only 5 entries in this category to my regret. It's extremely improbable to change because other people still having issues with libraries aim at slower categories.
    Thus definitely no lower than 5th.
    Quote Originally Posted by lz77 View Post
    How does zstd compress 1 GB to 280 MB in rapid test?
    That would be too early for me to make comments on such questions, but aren't you surprised by the zlib result? It's not far from Zstd in terms of compression ratio.

  12. #129
    Member lz77's Avatar
    Join Date
    Jan 2016
    Location
    Russia
    Posts
    140
    Thanks
    43
    Thanked 14 Times in 10 Posts
    Quote Originally Posted by Ms1 View Post
    but aren't you surprised by the zlib result? It's not far from Zstd in terms of compression ratio.
    Not so surprised because zlib compresses it 7.3 sec. longer than zstd.
    I'm surprised by pglz's c_time in Test 1, text, Rapid.

    Here it is their moral: they are ready to do everything for money!

  13. #130
    Member
    Join Date
    Apr 2020
    Location
    Russia
    Posts
    45
    Thanks
    0
    Thanked 31 Times in 14 Posts
    Quote Originally Posted by lz77 View Post
    Here it is their moral: they are ready to do everything for money!
    Yes, they are ready to insert a dictionary/model for our dirty data inside their neat compressors.

    Test 4, decompressor_size, bytes:

    *pglz 3446477
    *k5 202450
    *babylz 9014


    *pgcm 3145170
    *LUNA 23447
    *PPMd 1413982


    *PPMonstr 1599079
    *NINO 85981
    *sgcm 3150364

  14. #131
    Member lz77's Avatar
    Join Date
    Jan 2016
    Location
    Russia
    Posts
    140
    Thanks
    43
    Thanked 14 Times in 10 Posts
    I guess the remaining €2000 should be awarded to the author of babylz for the minimum (de)compressor size.

  15. Thanks:

    Gotty (30th November 2020)

Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. GDC Competition: Notices
    By Ms1 in forum Data Compression
    Replies: 13
    Last Post: 13th November 2020, 19:38
  2. Competition on compression ($)
    By Sshingen in forum Data Compression
    Replies: 8
    Last Post: 10th August 2013, 07:02
  3. Compression Competition -- $15,000 USD
    By Fixee in forum Data Compression
    Replies: 153
    Last Post: 27th March 2013, 16:38

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
  •