That nasty slug is back

5 views
Skip to first unread message

Christian

unread,
Apr 21, 2008, 2:16:00 PM4/21/08
to encode_ru_f...@googlegroups.com


Hi all!

This slug has not much in common with the old one. It's a complete redesign. Only the name is the same because I was to lazy to think of another one.
That damn slug has become even slower (what do you expect, it's a slug) but does work more thoroughly. On my system its speed is comparable to "thor e3" - sometimes faster, sometimes slower. But its compression is better most of the time. The ratio is in-between e3 and e4.

Seriously, many things are lackluster. e.g. the IO-handling is stupid. Or the handling of already compressed data is naive. But the algorithmic concept is nice. Slug isn't LZ77 anymore - it borrows some aspects from ROLZ and adds some magic to it. It still uses semi-dynamic huffman as backend.
I think that I can extend the 'ROLZ' further to provide higher compression at a slight speed hit. But on the other hand, maybe the next version will already use another concept.

If you find any bugs/errors please let me know.
I'm looking forward to some numbers from the benchmarkers. Besides, I tried adding slug to 'metacompressor.com'. Does anybody know what todo with the field 'code'?

Slug 1.2

encode

unread,
Apr 21, 2008, 2:24:00 PM4/21/08
to encode_ru_f...@googlegroups.com


From:
http://encode.ru/forums/index.php?action=vthread&forum=1&topic=677

Quoting: Bulat Ziganshin

code is LongNightsDebugging


;)

Bulat Ziganshin

unread,
Apr 21, 2008, 3:33:00 PM4/21/08
to encode_ru_f...@googlegroups.com


i will prefer if slug had various compression modes - old one, new one

SvenBent

unread,
Apr 21, 2008, 3:41:00 PM4/21/08
to encode_ru_f...@googlegroups.com


Slug... is it faster/slower than RZM and CCMx ?

Nania Francesco Antonio

unread,
Apr 21, 2008, 3:41:00 PM4/21/08
to encode_ru_f...@googlegroups.com


MOC Test
178.337.382 B
COMP =10,044 DEC=10,965 EFF.=130,54 (Number.1)

Christian

unread,
Apr 21, 2008, 4:53:00 PM4/21/08
to encode_ru_f...@googlegroups.com


Quoting: encode
code is LongNightsDebugging

Thanks Ilia. It worked like a charm. And I already thought that my browser might be incompatible or something.

Quoting: Bulat Ziganshin
i will prefer if slug had various compression modes - old one, new one

I just named it Slug because I couldn't come up with a decent name. Aside from the name, Slug 1.1x and 1.2 have nothing in common - the huffman coder was redesigned, too. It would be like combining RZM and CCM.

Quoting: SvenBent
Slug... is it faster/slower than RZM and CCMx ?

Much faster, but compression is much worse, too.

Quoting: Nania Francesco Antonio
MOC Test
178.337.382 B
COMP =10,044 DEC=10,965 EFF.=130,54 (Number.1)

Thanks for the ultra fast update, Francesco!! The result is really nice.
:)

Fallon

unread,
Apr 21, 2008, 6:18:00 PM4/21/08
to encode_ru_f...@googlegroups.com


Quoting: Christian
It's a complete redesign. Only the name is the same because I was to lazy


laziest googlesearch: synonyms online
http://synonyms.memodata.com/
http://www.synonym.com/
search: slug or another name
'fling, hit, bullet,'
search: fling
fling (n.)
1.the act of flinging
2.a brief indulgence of your impulses
3.a usually brief attempt"he took a crack at it" "I gave it a whirl"
fling (v.)
1.throw with force or recklessness"fling the frisbee"

LovePimple

unread,
Apr 21, 2008, 7:54:00 PM4/21/08
to encode_ru_f...@googlegroups.com


Thanks Chris! :)

Mirror: Download

Christian

unread,
Apr 22, 2008, 5:21:00 AM4/22/08
to encode_ru_f...@googlegroups.com


Thanks for the mirror, Lovepimple!

Here is a new version. I only extended the symbol-coder. This should impove ratio a bit in most cases. Speed should be about the same. Additionally, as a compensation for the missing readme I added some contact info to Slug.

Slug 1.21

About the name again. I just called this one slug, because I thought one stupid compressor name is enough. Additionally, it fits in the same niche - light and fast compression.

Intrinsic

unread,
Apr 22, 2008, 5:56:00 AM4/22/08
to encode_ru_f...@googlegroups.com


A Slug is also slow, slimey, eats your plants/vegetables and you can kill it by putting salt on it

Christian

unread,
Apr 22, 2008, 6:03:00 AM4/22/08
to encode_ru_f...@googlegroups.com




The ambiguousness of Slug was the reason why I chose it in the first place.

LovePimple

unread,
Apr 22, 2008, 7:47:00 AM4/22/08
to encode_ru_f...@googlegroups.com

LovePimple

unread,
Apr 22, 2008, 8:03:00 AM4/22/08
to encode_ru_f...@googlegroups.com


Quick test...

SLUG v1.21

A10.jpg > 843,835
AcroRd32.exe > 1,904,663
english.dic > 1,081,834
FlashMX.pdf > 3,889,783
FP.LOG > 1,101,238
MSO97.DLL > 2,317,140
ohs.doc > 907,716
rafale.bmp > 1,294,689
vcfiu.hlp > 836,592
world95.txt > 814,442

Total = 14,991,932 bytes


THOR 0.96a e3

A10.jpg > 842,840
AcroRd32.exe > 1,942,444
english.dic > 986,092
FlashMX.pdf > 3,890,204
FP.LOG > 1,221,332
MSO97.DLL > 2,385,868
ohs.doc > 935,456
rafale.bmp > 1,510,988
vcfiu.hlp > 969,760
world95.txt > 1,123,920

Total = 15,808,904 bytes


THOR 0.96a e4

A10.jpg > 841,780
AcroRd32.exe > 1,830,220
english.dic > 969,772
FlashMX.pdf > 3,826,376
FP.LOG > 935,016
MSO97.DLL > 2,241,704
ohs.doc > 879,948
rafale.bmp > 1,281,236
vcfiu.hlp > 773,044
world95.txt > 851,256

Total = 14,430,352 bytes

LovePimple

unread,
Apr 22, 2008, 8:13:00 AM4/22/08
to encode_ru_f...@googlegroups.com


Another quick test...

Test file: ENWIK8

Test machine: AMD Sempron 2400+, Windows XP SP2

SLUG v1.21
Compressed Size: 35,357,328 bytes
Elapsed Time: 7.059 Seconds


THOR v0.96a e3
Compressed Size: 41,531,628 bytes
Elapsed Time: 5.031 Seconds


THOR v0.96a e4
Compressed Size: 35,795,184 bytes
Elapsed Time: 14.203 Seconds

Stephan Busch

unread,
Apr 22, 2008, 12:55:00 PM4/22/08
to encode_ru_f...@googlegroups.com


The decision of what name a compressor gets is only up to the author. Thor reminds me of the celtic god of thunder, Tornado is both an ugly storm and a war machine, rings is what most people wear on their fingers..

Actually I find those names much more innovative than straight technical ones such as PPMd.

Also, processor and platform names like the upcoming Intel Nehalem with QuickPath sound mystical..

Bulat Ziganshin

unread,
Apr 22, 2008, 2:24:00 PM4/22/08
to encode_ru_f...@googlegroups.com


... and 4x4 reminds about hard-core vehicle - slow, heavy, but highly reliable (that's so far from my program :) )

thanks, Stephan, this sounds so incredible!

Christian

unread,
Apr 22, 2008, 2:31:00 PM4/22/08
to encode_ru_f...@googlegroups.com


Thanks for the update Stephan!

Quoting: Stephan Busch
Actually I find those names much more innovative than straight technical ones such as PPMd.

I agree. Still, imo long names like crazyBigElephant shouldn't be used neither.
:p

Slug 1.23

Changelog:
I fixed a 'feature' of the huffman coder. Resampling of the alphabet was done at a bad time (which degraded compression slightly). Speed should be identical.

Bulat Ziganshin

unread,
Apr 22, 2008, 2:47:00 PM4/22/08
to encode_ru_f...@googlegroups.com


Quoting: Christian
Still, imo long names like crazyBigElephant shouldn't be used neither.

once i had in program DancingElephant class :) it was about making multithreading in DOS environment which explains its name :)

Christian

unread,
Apr 22, 2008, 4:37:00 PM4/22/08
to encode_ru_f...@googlegroups.com


Quoting: Bulat Ziganshin
it was about making multithreading in DOS environment which explains its name

DancingOneLeggedLeftFootedWalrus would have been quite accurate, too.


LovePimple

unread,
Apr 22, 2008, 6:55:00 PM4/22/08
to encode_ru_f...@googlegroups.com


Quoting: Christian
Slug 1.23

Changelog:
I fixed a 'feature' of the huffman coder. Resampling of the alphabet was done at a bad time (which degraded compression slightly). Speed should be identical.


Awesome!

Mirror: Download

Bulat Ziganshin

unread,
Apr 22, 2008, 7:15:00 PM4/22/08
to encode_ru_f...@googlegroups.com


Quoting: Stephan Busch
rings is what most people wear on their fingers..

and Nania is our Lord Of Rings

Reply all
Reply to author
Forward
0 new messages