RE: [PATCH 2/2] zstd: use U16 data type for rankPos
From: Vaneet Narang
Date: Thu May 30 2019 - 05:20:26 EST
[Reminder] Any Comments?
>rankPosÂstructureÂvariablesÂvalueÂcanÂnotÂbeÂmoreÂthanÂ512.
>SoÂitÂcanÂeasilyÂbeÂdeclaredÂasÂU16ÂratherÂthanÂU32.
Â
>ItÂwillÂreduceÂstackÂusageÂofÂHUF_sortÂfromÂ256ÂbytesÂtoÂ128Âbytes
Â
>original:
>e24ddc01ÂÂÂÂÂÂÂÂsubÂÂÂÂÂsp,Âsp,Â#256ÂÂÂÂ;Â0x100
Â
>changed:
>e24dd080ÂÂÂÂÂÂÂÂsubÂÂÂÂÂsp,Âsp,Â#128ÂÂÂÂ;Â0x80
Â
Regards,
Vaneet Narang