This is the mail archive of the gcc@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: RFD - cleaning up C identifier lookup


Zack Weinberg wrote:
I spent some time this weekend looking into how the C front end
handles identifier lookup.  I believe we can clean it up considerably,
saving memory and improving performance.  I'd like to outline a plan
for this, and get reactions, before I spend much time wrestling with
pushdecl and other monstrosities.

I tried another approach:


http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00285.html

I didn't see any real time difference either way, and I got
busy with the compile server, so I basically dropped it.

The tradeoff with my patch was: save memory in each decl,
but extra code (both time and space) to access the lang
specific fields.

If you can come up with measurable time savings, that would
be great.
--
	--Per Bothner
per at bothner dot com   http://per.bothner.com/



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