This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/23495] java.lang.String.equals is suboptimal
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 20 Aug 2005 19:10:11 -0000
- Subject: [Bug libgcj/23495] java.lang.String.equals is suboptimal
- References: <20050820162349.23495.greenrd@greenrd.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 19:10 -------
Hmm, doing a profiling, I noticed that equals does its own loop instead of using memcmp which is
most likely more efficient as memcmp is optimized for each target by the OS.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23495