function "prratio()" in sources to BSD compress
James A. Woods
jaw at riacs.edu
Fri Jun 8 04:45:25 AEST 1990
good eye.
the original was floating point, like your suggestion, and
i wrote it knowing the floats were not a cpu drain.
it was changed by ken turkowski (still of apple?) to accomodate
a pdp 11 without floating point hardware.
i agree that it should revert to floating point.
better yet would be to speedup dan bernstein's 'squeeze',
a miller/wegman/ziv/lempel coder which has better c-rates.
ames!jaw
More information about the Comp.unix.wizards
mailing list