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

Luca Molteni (Jira) issues at jboss.org
Mon May 4 03:02:02 EDT 2020


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

Luca Molteni updated DROOLS-4891:
---------------------------------
    Sprint: 2020 Week 10-12 (from Mar 2), 2020 Week 13-15 (from Mar 23)  (was: 2020 Week 10-12 (from Mar 2), 2020 Week 13-15 (from Mar 23), 2020 Week 16-18 (from Apr 13))


> 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