[Tremor] runtime-generated lookup tables
Nicolas Pitre
nico at cam.org
Wed Mar 8 14:17:49 PST 2006
On Wed, 8 Mar 2006, Oliver Lange wrote:
> In my case, i really don't care about floating-point computing
> for use with table generation, but i just love small code. :)
>
> Currently i reached the <100KB exe size mark, not even really
> started the usual down-to-the-bone-stripping job. Without these
> tables, the exe would be even better compressable (upx), so
> therefor my question. The CRC and sincos tables are already
> gone but the remaining ones are poison for compressor
> dictionaries (huffman and the like).. compression ratio
> is currently only 30% :|
If you look into libvorbis you'll find the code to create those tables
since libvorbis initializes those tables dynamically. Just add the
appropriate scalling for the fixed point value (make sure not to
overflow) and there you go.
Nicolas
More information about the Tremor
mailing list