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

Inline constraints/consequence in Alpha Network Compiler

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Avoid virtual calls/using constraints in ANC.

      It should be possible using metaprogramming to inline the function call directly.

      See https://github.com/lucamolteni/drools/blob/2e4bf4ae98b02a4c0224f5a5a53d46386f24c0c8/drools-alphanetwork-compiler/src/test/java/org/drools/ancompiler/ExampleInlined.java#L49

      Benchmark this

              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: