Re: libFLAC optimizations request

Gabriel Corneanu <[email protected]>
Newsgroups gmane.comp.audio.compression.flac.devel
Message-ID <CADOQEpHN5uqTe9GYJqAC-5drnh67+f+wjQErvwobBbK5tAcWcg@mail.gmail.com>
Hello again,

After some time, I succeeded in splitting "flush" and "restart"
functions. A quick measurement gives me ~25% speed improvement, which
is quite a lot. Of course this optimization is specific for this use
case (many short signals).

Is this interesting for the project? I would gladly contribute it...
If yes, how should I share it? As a patch against current git?

Other small details:
- I commented out by default the vorbis comment; if this is important
to be kept, I would like an option (e.g. I could save ~100MB out of
~1.1GB compressed data).
- I allowed ".._set_total_samples_estimate" in initialized state
(intended to be used between flush and restart), in order to generate
a proper streaminfo header; it seems to be otherwise harmless even if
misused.

Regards,
Gabriel
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.