This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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] | |
I noticed that we were speeding 2% of our time while compiling libgcj in fnmatch, so I decided to take a look to see why we were calling it and I noticed that java_or_class_file could be improved by using strcmp. This patch implements the speedup. Also note that on platforms like x86 there is an even more speedup than I saw because the strlen and strcmp will be inlined.
Thanks, Andrew Pinski
Attachment:
speedupjava.diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |