[flac-dev] 1.21 vs 1.3 encoding speed

Erik de Castro Lopo
Tue, 29 Jul 2014 10:39:11 -0000

Miroslav Lichvar wrote:

> The -funroll-loops option improves the encoding speed, but it seems to
> increase the size significantly. I'm not suggesting to remove it from
> the default CFLAGS, just have an option to fully override them.


> It would be nice if -funroll-loops was used only for the
> stream_encoder.c file, that's where it seems to matter most.
>
> I'm not sure if there is a better way to do this in automake, in the
> Fedora flac package I used this patch:
>
>
http://pkgs.fedoraproject.org/cgit/flac.git/plain/flac-1.2.1-cflags.patch?id=66a59af0bdc5ae4a719aac5d4a8c41817906a01f

Ugly, but that seemse to be the standard solution to this:


https://www.gnu.org/software/automake/manual/html_node/Per_002dObject-Flags.html

Let me play with this.

Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo