On Jan 25, 2012, at 17:08 PM, Andrew Plumb wrote:
> When you get a chance, could you look into profiling the custom "function" code and see if recursive function calls might be better optimized? They work but are *really* slow.
I haven't looked too much into this, but initial investigation indicate that it's the Value class which takes most resources.
When looking at that class, it's indeed significant room for improvement. Not sure what to do with it. For performance, boost::any could we worth taking a look at.