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]

Re: PR gcj/238


>>>>> "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


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