This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR gcj/238
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: PR gcj/238
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Wed, 31 May 2000 07:51:37 -0700 (PDT)
- Cc: tromey at cygnus dot com, gcc-patches at gcc dot gnu dot org, Alexandre Petit-Bianco <apbianco at cygnus dot com>
- References: <3934F6A2.CFFA1658@albatross.co.nz>
>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
Bryce> The "Search interfaces" part of the function uses a hashtable
Bryce> to keep track of which classes it has already searched, but the
Bryce> class searching part does not do this, presumably because it
Bryce> was written before the inner class stuff was added so enclosing
Bryce> classes wern't an issue. Using a hashtable would be better from
Bryce> an efficiency point of view, but your fix works fine as well.
I think using a hash table would be cleaner, too.
I can't work on that today though, and I'm going out of town tomorrow.
So it might be a while before I can get to it.
Tom