This is the mail archive of the 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: Improve Java build times

--On Tuesday, May 21, 2002 03:00:51 PM +1200 Bryce McKinlay 
<> wrote:

> Mark Mitchell wrote:
>> Now I hope I'll be forgiven for my earlier change which
>> was accused of making things slower. :-)
> Yes. Mark, you are cool ;-)

Let's not get carried away.

> I havn't had a chance to test it yet, but I like the look of this patch.
> If I understand it correctly, by calling scandir() on each directory that
> class/java files are to be read from, and then searching the directory
> entries to determine existance of a file, you may actually have also
> solved the os X/cygwin case insensitive file system bug, or at least gone
> a long way towards it!

I don't know about that bug, but in general, yes, this is almost a
solution ton one problem I can imagine.  You could do the comparisons
using strcasecmp instead of strcmp, and a case-ignoring hash function,
and then be case insensitive, so that you would find "fOo.JaVa" as
well as "" when looking for a class "foo".

Mark Mitchell         
CodeSourcery, LLC     

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