[antlr-interest] performance of the C runtime for ANTLR 3
Martin Probst
mail at martin-probst.com
Thu Jan 4 06:08:53 PST 2007
Hi,
I've done some small comparisons between C++ and Java with ANTLR 2.7
something, turned out that the Java version was significantly faster
(5x). I'm not sure why that was, but I had the feeling it was about
string copying and reference counted memory management. I didn't do
proper tests however. I hear the 3.0 C++ runtime was largely
enhanced, so this is probably no longer true for ANTLR 3.
Regards,
Martin
Am 22.12.2006 um 17:21 schrieb Tom Liu:
> Hi Jim
>
>
>
> Do you know if there are general performance comparison information
>
> between the C parsers and java parsers all generated by antlr ?
>
>
>
>
>
> Merry Christmas
>
>
>
> Tom
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.14/578 - Release Date:
> 12/7/2006 1:27 AM
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date:
> 12/7/2006 1:31 PM
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date:
> 12/7/2006 1:31 PM
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date:
> 12/7/2006 1:31 PM
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date:
> 12/7/2006 1:31 PM
>
>
More information about the antlr-interest
mailing list