Re: [patch] Speed up find_pc_section

Paul Pluzhnikov
2009-09-11T08:03:11Z

On Fri, Sep 11, 2009 at 12:39 AM, Pierre Muller <muller@ics.u-strasbg.fr> wrote:

>> All overlaps are removed in filter_overlapping_sections, before the
>> first binary search is performed.
>
>  This is where I get lost:
> I see no code in filter_overlapping_sections
> that changes map_size, so how are these overlapping
> elements removed and what is put in their place?

Ah, that's a bug; thanks for catching it.
The filter_overlapping_sections was supposed to return 'j', not 'map_size'.

I'll retest an updated patch and send it in tomorrow.
--
Paul Pluzhnikov