This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [gcjx] Patch: FYI: speed up lexer
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 29 Sep 2005 15:35:03 +0530
- Subject: Re: [gcjx] Patch: FYI: speed up lexer
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <m3hdc4vgum.fsf@localhost.localdomain>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tom Tromey wrote:
> I'm checking this in on the gcjx branch.
>
> This changes gcjx to lex a file all at once, instead of lexing on
> demand. This cut more than 30 seconds off the build time for
> Classpath here (from 4m28s to 3m51s in my unscientific test -- sadly,
> still enormously slower than ecj).
Nevertheless, a good thing - thanks!
Now if only you could tweak the lexer a little so that
the diagnostics routines are able to print out the line
containing the problem with a caret underneath that points
to the column in question...
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDO7xPYb1hx2wRS48RApSfAKCL/lRXyxj09YCXf9NLRNI3BNinKACgrQy3
kW4s4nqYKCffe0FQn3zQjdg=
=f+Tp
-----END PGP SIGNATURE-----