Affects Version/s: None
Fix Version/s: None
For small, quick queries, the effort of generating code and compiling using janino is not justified. For these queries an interpreter would be quicker.
We could use the same linq4j methods (e.g. groupBy) but the lambdas that implement expressions would be interpreted. Linq4j's AbstractNode.evaluate(Evaluator) is probably the way to go, but that method needs some work.
To be clear, this change would not remove the code-generation option. It would just be another alternative.
---------------- Imported from GitHub ----------------
Created by: julianhyde
Created at: Fri Dec 20 20:07:11 CET 2013