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

Luca Molteni (Jira) issues at jboss.org
Thu Jan 9 04:03:48 EST 2020


     [ https://issues.redhat.com/browse/DROOLS-4891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Molteni updated DROOLS-4891:
---------------------------------
    Labels: good-first-issue  (was: )


> 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.



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


More information about the jboss-jira mailing list