[Pyparsing] parsing with operatorPrecedence takes too much time
Brought to you by:
ptmcg
From: Ralf S. <sc...@gm...> - 2008-04-02 16:33:11
|
Hi all, I'm attaching a short test program that tries to parse mathematical expressions using operatorPrecedence. It takes nearly one second to parse a simple expression like 1+1+1-(5+2) (on a 2.4Ghz machine). Any hints? Am I doing something wrong? Regards, - Ralf |