/* HUF_selectDecoder() : Tells which decoder is likely to decode faster, based on a set of pre-determined metrics.  */
U32 HUF_selectDecoder(size_t dstSize, size_t cSrcSize)
/* HUF_selectDecoder() : Tells which decoder is likely to decode faster, based on a set of pre-determined metrics.  */
U32 HUF_selectDecoder(size_t dstSize, size_t cSrcSize)
{
	U32 const Q = (U32)(cSrcSize * 16 / dstSize);
	U32 const D256 = (U32)(dstSize >> 8);
	U32 const DTime0 = algoTime[Q][0].tableTime + (algoTime[Q][0].decode256Time * D256);
	U32 DTime1 = algoTime[Q][1].tableTime + (algoTime[Q][1].decode256Time * D256);
	DTime1 += DTime1 >> 3;
	return DTime1 < DTime0;
}