[FFmpeg-devel] [PATCH 3/3] configure: speedup x2-x8

avih avihpit at yahoo.com
Sat Aug 25 21:11:10 EEST 2018


For overview see:
http://ffmpeg.org/pipermail/ffmpeg-devel/2018-August/233665.html

Attached is patch 3/3 which was at "main.patch" of that message.

After the previous speedups, configure spent 20-60% of its runtime
at check_deps(). It's particularly slow with bash. After some local
optimizations - mainly avoid pushvar/popvar and abort early in one
notable case (empty deps), it's now x4-x25 faster.

After this patch, pushvar() and popvar() are not used but
I was hesitant to remove them (nice to have). If you think it should
be removed, the patch "opt2-remove-pushvar.patch" removes them.
 

    On Saturday, August 25, 2018 7:55 PM, Timo Rothenpieler <timo at rothenpieler.org> wrote:
 

 Please use git send-email to send your patches, or at least send each 
patch, created by git format-patch, as individual attachment. Your files 
seem to contain multiple patches one after another, which makes them 
very hard to follow.

But nice work! Let's hope this does not cause any regressions.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-configure-check_deps-x4-x25-speedup.patch
Type: text/x-patch
Size: 6205 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180825/fd99d88b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opt2-remove-pushvar.patch
Type: text/x-patch
Size: 1012 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180825/fd99d88b/attachment-0001.bin>


More information about the ffmpeg-devel mailing list