[jboss-jira] [JBoss JIRA] (DROOLS-4891) Further Optimize Lambdas in Executable Model

Luca Molteni (Jira) issues at jboss.org
Mon Dec 23 02:59:36 EST 2019


Luca Molteni created DROOLS-4891:
------------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list