>> >Hi Juha,
>> >
>> >> By changing the binary_search algorithm used in
bin_search_StepSize
>> >> a major speed up can be achieved.
>> >>
>> >
>> >How about a patch for LAME?
>>
>> He're is a quickie, eh. But; it might be wise to drop the whole
>> inner_loop
>> and replace it with the binary_search version. Might get an other
10-20%
>> off.
>>
>
>I just added Juha's patch (3.12pre4). On my machine, it gets me from
>.73x up to .77x.
>
>It is turned off by default (#define JHL_BINSEARCH to enable).
>Since it doesn't produce bit-for-bit identical results,
>I have to run it through all my standard tests before making
>it the default. I'll probably do that this weekend.
Uups, the changed binary_search dont need the quantaf_init function,
which can be ignored to gain some speed up.
- Juha
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )