http://quad.sourceforge.net/
- A nice replacement for gzip and bzip2.
![]()
http://quad.sourceforge.net/
- A nice replacement for gzip and bzip2.
![]()
More like an AWESOME replacement for gzip and bzip2!!!
Thanks Ilia!![]()
By the way, with new command line interface you can integrate the QUAD to the explorer.
Just create three BAT files:
<u>Compress with QUAD (Max mode).bat:</u>
@quad.exe -x %1
<u>Compress with QUAD.bat:</u>
@quad.exe %1
<u>Decompress with QUAD.bat:</u>
@quad.exe -d %1
And put these file to SendTo menu:
C:\Documents and Settings\<User>\SendTo
(Replace <User> with correct user name)
Now, you can compress and decompress any file via context menu (Much like with WinRAR or orther archiver).
Have fun!
![]()
Good idea, but there are some people with Windows XP that dont have the "send to" feature available.Originally Posted by encode
Hi! I'm going to download and try it!
Thank you! Note that the usage of the program was changed (to gzip-like)![]()
Hi Ilia,
v1.08 shows nice improvements for decompression speed (>10% boost) as well slightly faster compression. Well done.
Browsing QUAD source I noticed that you can improve compression speed notable with implementing match seach short cut (as well as some other tunings). This should help in normal mode and even more in max compression mode. Especially highly repetitive data will compress MUCH faster. Did you ever try QUAD max mode on e.g. 1MB-file of zero-bytes? It's a worst case.
I made some quick changes to v1.08 code. Most important: there is NO LOSS in compression power. Compressed files are identical to v1.08 and can be decompressed with v1.08 - or better I'll say "should be" because I made few tests only so far. Here are the results (1st v1.08 time, 2nd improved time, 3rd: speed gain):
ACRORD32.EXE
def 4.3sec 3.6sec -16%
-x 9.3sec 4.9sec -47%
FP.LOG
def 3.5sec 2.2sec -37%
-x 39.5sec 21.5sec -46%
WORLD95.TXT
def 1.7sec 1.4sec -18%
-x 4.4sec 2.9sec -34%
PIC
def 0.3sec 0.3sec -16%
-x 5.7sec 0.7sec -88%
Zero-MB-File
def 0.6sec 0.2sec -67%
-x 61.4sec 0.2sec -99%
All timings taken with GCC compilations and tested on my Pentium-M laptop. Of course, gains may differ with other compiler/environments.
I'll send you later an email with implementation details. Currently I have some problems with Outlook.
Regards
Uwe
Checked the bat-files, after dropping quad.exe in windows:Originally Posted by encode
- compression with quad-it.bat went ok
- decompression with de-quad.bat resulted in
c:windowsdesktopebook1~1.qua: unknown suffix
- decompression with pim140beta went ok, quicker than pim130beta.
- but with a file allready present, pim.exe crashed, instead of overwriting or ask to overwrite.
- it may be unfair to mention at this point, but a problem that will keep users away: long filenames get truncated and extensions like .torrent become .tor. Guessing filenames is not attractive. One extension disappeared totally, although I could not reproduce this in a hurry.
Still, lots of progress with Quad! And the idea to use windows right-click menu is good.
It would help if you can implement the rightclickmenu as a feature in Pim.
Maybe also, if a 7-Zip plugin would be feasible.
I just tested this version. Very good work Ilia! Its really fast and has great ratio!Originally Posted by encode
Uwe, these results are simply amazing!Originally Posted by Uwe Herklotz
![]()
Its really awesome! Just cant wait for your email! Thank you very much!Originally Posted by Uwe Herklotz
2 Fallon:
What kind of OS do you use? With Windows XP as far as with Linux no problems found. Also, try to rename .BAT files to .CMP - an NT styled extension instead of DOS one.
![]()
Thats good to hear.Originally Posted by encode
I was using win98se when I tried this. Forget about it, as many will move to vista this year. Will try XP myself this weekend.
![]()
I thought that no one use the Win 98 now...![]()
I noticed, it has a more "standard" syntax now.Originally Posted by encode
Imho QUAD is quickly growing up as a very interesting project!
bash-2.05b#
bash-2.05b# zip -ry0 calgarycorps.zip calgarycorps
adding: calgarycorps/ (stored 0%)
adding: calgarycorps/bib (stored 0%)
adding: calgarycorps/geo (stored 0%)
adding: calgarycorps/pic (stored 0%)
adding: calgarycorps/news (stored 0%)
adding: calgarycorps/obj1 (stored 0%)
adding: calgarycorps/obj2 (stored 0%)
adding: calgarycorps/book1 (stored 0%)
adding: calgarycorps/book2 (stored 0%)
adding: calgarycorps/progc (stored 0%)
adding: calgarycorps/progl (stored 0%)
adding: calgarycorps/progp (stored 0%)
adding: calgarycorps/trans (stored 0%)
adding: calgarycorps/paper1 (stored 0%)
adding: calgarycorps/paper2 (stored 0%)
bash-2.05b#
bash-2.05b# time lzpxj 7 calgarycorps.zip calgarycorps.zip.lzpxj
lzpxj 1.2g (c) 2005-2006 ilia muraviev, jan ondrus
encoding calgarycorps.zip...
ratio: 26.3%
done
real 0m5.597s
user 0m5.080s
sys 0m0.510s
bash-2.05b#
bash-2.05b# time ./quad.bin -x calgarycorps.zip calgarycorps.zip.quad
quad 1.08 copyright (c) 2004-2007 ilia muraviev
compressing calgarycorps.zip...
ratio: 28.0%
finished
real 0m17.043s
user 0m16.990s
sys 0m0.050s
bash-2.05b#
This will not be a useful post. I thought the same, hehe. Anyway, I use a servicepack pimped win98se on weekdays (because of 1280x1024 true color resolution there is no need to change) and xp during weekends.Originally Posted by encode
Gates probably got dirt in his eyes when he looked at the dollar vs euro exchange rates. Microsoft asks EURO 550 for Vista Ultimate in Europe. I will switch when I get my copy send from the US.
2 qqwertyy:
Check the decompression speed (and memory usage). And don't forget about upcoming 1.09 (or 1.10)! Have a nice day!![]()
>Check the decompression speed
may be you right for yours situation,
but i am often trying several compressors(lzma(7z),bzip2,zip/gzip) and choosing the best for particular target,so the time of decompression(and even time of compression) is not valuable for me(except with the case when paq* compressor)
ps
больше компрессоров - хороших и разных
psps
>Check the decompression speed (and memory usage).
i will check
Подожди версии 1.10. В этой версии скорость сжатия выше в разы! Например в максимальном режиме скорость выше в среднем в 2...8 раз. Посмотри результаты Уве! С выпуском этой версии торопится не буду, но где-то в течении месяца надеюсь выпустить.
![]()
заделал тут скрипт lzpxj для инсталлятора nsis(win2k-winxp) - можно и под quad сделать инсталлятор: кидает исходники, бинарники(в путь и не в путь - по выбору, создает ярлыки на рабочий стол "сжать" "сжать быстро" "разжать" - нужно ?
(могу переделать под quad)
Да ну, зачем? У меня тоже есть NSIS, по моему удобнее консольные программки раззиповывать. Плюс ко всему инсталлятор получается толще самой программы!Хотя идея автоматического создания ярлыков отличная.
![]()
смысл в том, чтобы пользователь мог кинуть мышкой файл - запаковать, кинуть - разпаковать
зы
тогда наверное завтра
(вот вечерком соберу новый quad+lzpxj под winxp/linux/qnx6)
My Russian is not too good.What's all this about installers and something about combining quad + lzpxj?
it is not combining !
i want to build quad and lzpxj from sources, and after that i will make installers scripts, which can be used for building nsis installer.
installer can place shortcuts on users desktop:
"compress file with quad"
"compress file with quad faster"
"decompress quad file"
and compressing/decompressing can be done via file drag'n'drop on shortcuts on the desktop
Thank you for explaining this.![]()
files with nsis scripts and ready-to-run binaries and installers were sent on ilia_muraviеv at usеrs dot sourсеforgе dot nеt.
For testing purposes file is here:
quad_1.09_win.7z (83 KB)
![]()
it will not work under non nt-based os(windows 9- i am using "cmd" scripts
quad.exe - compiled by me in mingw ! it is not original binary version.