OSDN Git Service

Force speed irrelevant calls to get/put_symbol() to be noinline.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 24 Apr 2009 01:50:09 +0000 (01:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 24 Apr 2009 01:50:09 +0000 (01:50 +0000)
commit217d34e3070378ab55f203aad8a662238fbc902f
tree147cd6c0dd7408668a27dbc86e738eeae9a4e18f
parent3788e661f1e50558b92544c8e2d373aa553e9124
Force speed irrelevant calls to get/put_symbol() to be noinline.
We need to change decode_line to always_inline because gcc decided not to inline
it anymore once we force some calls to get/put_symbol() to be non inlined and
this decision of gcc would lead to a 10% overall speed loss.
100k smaller object file, no speed change

Originally committed as revision 18673 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ffv1.c