This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] lookup_tag speedup


Devang Patel <dpatel at apple dot com> writes:

> On Thursday, April 10, 2003, at 07:20 PM, Zack Weinberg wrote:
>
>> Devang Patel <dpatel at apple dot com> writes:
>>
>>> hmm.. I will look at lang_identifier approach. One immediate question
>>> is - how to handle situations where we want to process all tags for
>>> given binding level?
>>
>> With the list hanging off the ->tags member of struct binding_level,
>> which already exists.
>
> I thought, ultimate plan is to get rid off that list all together.

My plan is to keep it but not use it for lookups.

> However you can measure performance of your patch yourself using
> attached preprocessed file (objective-c). I managed to get 10% real
> and 11% user time (according to /usr/bin/time) speed up. If your
> match matches it or does better than that then its wonderful.
>
> If not then it would be nice, if you wait until you squeeze out
> matching performance from your patch.

I'd be happy to do this test, but there is no file attached to your
message.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]