Comment on Using Uninitialized Memory for Fun and ProfitComments−antirez16yAn interesting implementation of this trick can be found in the LZF compression lib: http://oldhome.schmorp.de/marc/liblzf.htmlBasically the hash table used to compare the current input with already seen input is uninitialized, since the two values are anyway compared bit-per-bit to actually make sure there is a match.
Comments
An interesting implementation of this trick can be found in the LZF compression lib: http://oldhome.schmorp.de/marc/liblzf.html
Basically the hash table used to compare the current input with already seen input is uninitialized, since the two values are anyway compared bit-per-bit to actually make sure there is a match.