[antlr-interest] Optimized code generation

Indhu Bharathi indhu.b at s7software.com
Thu Sep 10 10:07:21 PDT 2009


Yes, backtracking will affect performance. If you are concerned about
performance, don't use backtrack and try left factoring your grammar
instead. 

 

From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Bharath R
Sent: Thursday, September 10, 2009 5:25 PM
To: 'antlr-interest'
Subject: [antlr-interest] Optimized code generation

 

Hi All , 

 

Pls let me know what are all the option that I could use , to get the
generated code with more performance. ( Need to be fast in parsing ). 

 

I have enabled " backtracking = true " , will this hits the performance ??? 

Without this option some ambiquity is coming. 

 

Pls help me in providing any better performace tuning option that I could
set for code generation. 

 

Thanx in advance

Bharath R 

 

HUAWEI TECHNOLOGIES CO.,LTD. huawei_logo


Address: Huawei Industrial Base
Bantian Longgang
Shenzhen 518129, P.R.China
www.huawei.com
----------------------------------------------------------------------------
---------------------------------------------------------
This e-mail and its attachments contain confidential information from
HUAWEI, which 
is intended only for the person or entity whose address is listed above. Any
use of the 
information contained herein in any way (including, but not limited to,
total or partial 
disclosure, reproduction, or dissemination) by persons other than the
intended 
recipient(s) is prohibited. If you receive this e-mail in error, please
notify the sender by 
phone or email immediately and delete it!

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090910/6df0b392/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 6737 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20090910/6df0b392/attachment.jpe 


More information about the antlr-interest mailing list