[flac-dev] 1.21 vs 1.3 encoding speed

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Jul 29 03:39:11 PDT 2014

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:


Let me play with this.

Erik de Castro Lopo

More information about the flac-dev mailing list