This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] lookup_tag speedup
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Apr 2003 19:38:35 -0700
- Subject: Re: [PATCH] lookup_tag speedup
- References: <C4727AD3-6BC5-11D7-BBB8-0003935AAA26@apple.com>
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