[FFmpeg-devel] [PATCH] ripemd: move ripemd{256, 320} into separate functions

Michael Niedermayer michaelni at gmx.at
Thu May 7 16:36:44 CEST 2015


On Thu, May 07, 2015 at 01:58:50AM -0300, James Almer wrote:
> This allows the removal of a few branches.
> 
> Before:
> lavu       RIPEMD-160   size: 1048576  runs:   1024  time:    7.052 +- 0.010
> 
> After:
> lavu       RIPEMD-160   size: 1048576  runs:   1024  time:    6.865 +- 0.015
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavutil/ripemd.c | 354 +++++++++++++++++++++++++++++++++--------------------
>  1 file changed, 222 insertions(+), 132 deletions(-)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150507/97763c46/attachment.asc>


More information about the ffmpeg-devel mailing list