News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

zlib problem

Started by jj2007, November 29, 2010, 12:14:51 AM

Previous topic - Next topic

jj2007

Quote from: jj2007 on November 29, 2010, 08:43:01 PM
MasmBasic will soon zip Windows.inc to a mere 133,149 bytes :bg
It works :bg

Quoteinclude \masm32\MasmBasic\MasmBasic.inc
   
Init[/color]
   GetFiles "\Masm32\include\Windows.inc"
   ZipFiles "WinInc"
   Inkey Str$("%i files compressed, new size=", ZipFilesArchived), Str$(Lof("WinInc.arc"))
   
Exit
end start

QuoteFreeArc 0.666 creating archive: WinInc.arc
Compressed 1 file, 849,788 => 130,870 bytes. Ratio 15.4%
Compression time: cpu 1.16 secs, real 1.22 secs. Speed 697 kB/s
All OK
1 files compressed, new size=133117

frktons

Compliments Jochen  :U
Mind is like a parachute. You know what to do in order to use it :-)

ToutEnMasm


There is just to open a contest,The more little windows.inc possible.  :P

ToutEnMasm

I begin the contest 7zip, give a windows.inc at 137Ko can be better with gif and other files.
Can Use a command line and there is only to get the "Execute_Independant_Win" proc who is in this forum,to command it.There is a Help file for the syntax.


jj2007

7zip is not so bad, I actually use it in another context. But FreeArc is slightly better at 133117 bytes.
Not to mention my other candidate: 121,910 :green

ToutEnMasm

Quote7zip is not so bad
He is at the first place for mixed formats.

jj2007

Quote from: ToutEnMasm on November 30, 2010, 05:20:45 PM
Quote7zip is not so bad
He is at the first place for mixed formats.


Strange, I thought it was on rank 52 for mixed formats...

ToutEnMasm


First of free
http://rlwpx.free.fr/WPFF/comploc.htm

Seems there is much to discuss about this.

dedndave

that tells you how much the method used may infuence the outcome of a study
we see it the politcal arena all the time   :P

what is the best chocolate ?
well - if the study is conducted by a group that is funded by an individual that owns shares in Hershey.....

anyways - there are a lot of variables here
speed - both compress and decompress
compression ratio
then - different files will compress differently with different algos
careful selection of the test file mix can make one method look better than another

at the end of the study cited by Yves, i noticed he recommended 7Zip for GIF files
well - DUH! - they are already LZW compressed - lol

fearless

Im waiting to see when we will hear from Sergiu's and his 100-1 compresser (http://www.masm32.com/board/index.php?topic=13454.msg105090#msg105090) in relation to this topic :D
ƒearless

hutch--

 :bg

I think he may have kept that secret to himself. Some technology is worth hiding.  :P
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

dedndave

i figure he is still working out the bugs   :P
once he gets it up and running, he'll be back

jj2007

Quote from: dedndave on December 01, 2010, 10:47:19 PM
i figure he is still working out the bugs   :P
once he gets it up and running, he'll be back

A Google search for Sergiu shares did not reveal any exciting economic developments. But Urban Dictionary know him :green2

dedndave

the lasting effects of too much compression...



oex

I have a theory that he will return to the board in 8 years with the original data to claim his title.... Relative compression utilising Kryder's Law http://en.wikipedia.org/wiki/Mark_Kryder he was a physicist after all
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv