Re: [FFmpeg-devel] [PATCH] avcodec/xbmdec: Use LUT for hex char->number conversion

2024-03-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Improves performance by about 30%. > > Signed-off-by: Andreas Rheinhardt > --- > [1] is a patch that would also move the bitreverse into the LUT; > it didn't make a difference in the benchmarks here, but if it is > an improvement for someone else, it could still be applied.

[FFmpeg-devel] [PATCH] avcodec/xbmdec: Use LUT for hex char->number conversion

2024-03-06 Thread Andreas Rheinhardt
Improves performance by about 30%. Signed-off-by: Andreas Rheinhardt --- [1] is a patch that would also move the bitreverse into the LUT; it didn't make a difference in the benchmarks here, but if it is an improvement for someone else, it could still be applied. [1]: https://github.com/mkver/FFm