Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4891

Further Optimize Lambdas in Executable Model

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • 2020 Week 10-12 (from Mar 2), 2020 Week 13-15 (from Mar 23)
    • 5
    • NEW
    • NEW

      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.

            lmolteni@redhat.com Luca Molteni
            lmolteni@redhat.com Luca Molteni
            Daniel Rosa Daniel Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: