[DUG] Parser/Evaluator

Phil Scadden p.scadden at gns.cri.nz
Thu Oct 25 10:21:19 NZDT 2007


Looking at delphi/Python, I dont think it cuts it. Suppose you want to 
graph a user-entered function
for a 1000 points. While you can pass variables etc, it looks to me like 
the python function is being
parsed with every call? That is slow compared to parsing once and 
storing execution tree, then just
evaluating with new data in the allocated variables. There are a no. of 
components round that do this (jcl has one) but they lack conditionals. 
Maybe I do need to modernise formulabuilder.
-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232



More information about the Delphi mailing list