Project

Profile

Help

Bug #2321

Updated by Michael Kay about 6 years ago

We should do some experiments with function inlining. (a) the limit on expression size for inlining is fixed at 15, which seems rather low. BaseX defaults the limit to 100, and makes it configurable. (b) we don't inline a function if it contains any calls to user-defined functions. I think this is to prevent infinite recursion. But it doesn't seem necessary: the expansion would stop when we hit the size limit. 
 

Back