Message9638
On point 2
I was caching the CompiledScript and using Bindings to pass in variables. I didn't realize it still required re-compiling or additional processing.
The use case was for user provided expressions..
Example:
x AND y
My assessment was dynamically wrapping the expression in a function could potentially be error prone as the language syntax depends on line spacing.
However the performance difference was so great that I ended up doing it anyway.. and sure enough there were some sample expressions I had to modify but it wasn't as bad as I anticipated.
So I'm dynamically turning the expression above into..
def fx(x,y):
return x AND y |
|
Date |
User |
Action |
Args |
2015-03-12 16:47:29 | wdroste | set | messageid: <1426178849.48.0.181717743774.issue2230@psf.upfronthosting.co.za> |
2015-03-12 16:47:29 | wdroste | set | recipients:
+ wdroste, amak, zyasoft |
2015-03-12 16:47:29 | wdroste | link | issue2230 messages |
2015-03-12 16:47:29 | wdroste | create | |
|