[flac-dev] about word size in bitreader/bitwriter
lvqcl.mail at gmail.com
Mon Jan 4 11:49:51 PST 2016
Miroslav Lichvar wrote:
> In the measurements comparing 32-bit and 64-bit words you posted
> later, I'm wondering why there is a slow down in decoding of 24-bit
> files. Does profiling show it comes from the read_rice_signed_block()
> function or something else? Could it be slower SWAP_BE_WORD_TO_HOST or
The difference is so small that it's difficult to find a place
where FLAC__BYTES_PER_WORD==8 is slower than 4.
Also I don't know how to perform profiling in MSYS/MinGW ecosystem.
Profiling in MSVS2015 hints that for some reason crc16_update_word_()
may take more time if FLAC__BYTES_PER_WORD==8. Maybe the new code
(the patch is attached) is faster?
Currently I can't measure the difference with high enough precision,
the measurement error on my current system is too high :(
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1734 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20160104/ff938e94/attachment.obj
More information about the flac-dev