]
Luca Molteni updated DROOLS-4891:
---------------------------------
Sprint: 2020 Week 10-12 (from Mar 2) (was: 2020 Week 07-09 (from Feb 10))
Further Optimize Lambdas in Executable Model
--------------------------------------------
Key: DROOLS-4891
URL:
https://issues.redhat.com/browse/DROOLS-4891
Project: Drools
Issue Type: Enhancement
Reporter: Luca Molteni
Assignee: Luca Molteni
Priority: Major
Labels: good-first-issue
Lambda shouldn't be externalized depending on the variable name but on the actual
lambda.
So
person.name == a
person.name == b
Is effectively the same lambda and should externalized once.
Hint: we could rename the parameters to p1, p2, p3, promote the types to fully qualified
names and get this result.