SE250:lab-5:rthu009

From Marks Wiki
Jump to navigation Jump to search

Testing case

 int sample_size = 1000;
 int n_keys = 1000;
 int table_size = 1000;


Testing Buzhash low on 1000 samples Entropy = 7.843786 bits per byte.

Optimum compression would reduce the size of this 1000 byte file by 1 percent.

Chi square distribution for 1000 samples is 214.46, and randomly would exceed this value 95.00 percent of the times.

Arithmetic mean value of data bytes is 128.0860 (127.5 = random). Monte Carlo value for Pi is 3.132530120 (error 0.29 percent). Serial correlation coefficient is -0.017268 (totally uncorrelated = 0.0).

Buzhash low 1000/1000: llps = 6, expecting 5.51384