<< ctxmodel.net

Here're the results of some parameter optimization experiment. The update in fpaq0pv4B was replaced with this:
P = __max(1, __min( PSCALE-1, ( P*w1 + bit*w2 + (PSCALE/2)*w3 )>>PSCLOG ) );
Then, the values of w1,w2,w3 were computed from two actual parameters as follows (PSCLOG=13, PSCALE=1<<PSCLOG=8192):
w1 = (PSCALE-wr);
w2 = (wr*(PSCALE-mw));
w3 = (wr*mw)/2;
Then the optimal {wr;mw} values were found for each SFC file + wcc386 + whole SFC (sum of separately compressed file lengths):
int wr_mw[][2] = {
  { 380, 120 }, // 0  acrord32.exe:
  { 396, 298 }, // 1  mso97.dll:   
  { 229, 8   }, // 2  english.dic: 
  { 228, 9   }, // 3  world95.txt: 
  { 128, 4   }, // 4  fp.log:      
  { 273, 95  }, // 5  ohs.doc:     
  {1024, 66  }, // 6  rafale.bmp;  
  { 128, 44  }, // 7  FlashMX.pdf: 
  { 383, 74  }, // 8  vcfiu.hlp:   
  {  71, 3270}, // 9  A10.jpg:     
          
  { 337, 41  }, // 10 SFC
  { 514, 527 }  // 11 wcc386
};
And then these are sizes of compressed files using all different update "profiles". The minimum (best result) for each file shown in green, and maximum in blue.

OPT TARGET:00
acrord32.exe
01
mso97.dll
02
english.dic
03
world95.txt
04
fp.log
05
ohs.doc
06
rafale.bmp;
07
FlashMX.pdf
08
vcfiu.hlp
09
A10.jpg
10
whole SFC
11
wcc386
A10_jpg852719852618847156847157843401848628881913843325852975840556851238856041
FlashMX_pdf417411541759074156058415591841496324160116430313741493504175019424568941687694192439
acrord32_exe252865525321872541039254108625627132534329257875625614152529081290833625310782540115
english_dic204026720609932024525202480220305672032469212002920338262036345263152820304182097568
mso97_dll284008528379742851677285176328702232844743290130428688682841543308595828436222838842
ohs_doc305026930529133050953305086230615563048045313118330603973051083334773630500483064479
rafale_bmp183401818525331902936190383820175091880542176242520207521828188273461318427971857181
vcfiu_hlp201278720257892021274202133120433722015827206418720413052011562262771220124652049948
world95_txt186639918745651860693186058718643471863300191693818657461865280217661918628991890365
<<<Total>>>351808953530088635196341351968123536754435187415359512393537742635164421404036783515272835521015


And, at last, here's the source of this fpaq0pv4B version, with executables compiled for each "profile" included.
Hope this'd help.
2013-08-01 07:38:57                 >
2014-11-26 03:21:18                 >
2015-01-11 00:49:49                 >

Write a comment:

Name: