Re: Streamtokenizer

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
OneGuy wrote:
> Hi,
> 
> I was testing a 14 MB file with this benchmark,
> 
> http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcol&lang=java&id=2
> 
> and it turns out that GCJ is 7 times slower than Java6. Can this be
> called a bug in GCJ 's Streamtokenizer?

That may be so.  On the other hand, perhaps Sun's JIT has discovered
a smart optimization that isn't visible to gcc.  Profililng the 
program may show what is happenining.

Andrew.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.