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

Improve performances of lambda externalization

XMLWordPrintable

    • 2021 Week 40-42 (from Oct 4), 2023 Week 03-05 (from Jan 16)
    • 2
    • NEW
    • NEW

      During the externalization process of the lambda expressions, at the end of the executable model generation, we do a pretty print of the class materializing the lambda, only to make an hashing of the whole source code.

      This mechanism has been introduced with this commit and the corresponding pull request contains a detailed explanation of why we did so.

      This solution works, but making a pretty print of the source code only to extract its hashing looks wasteful and in our benchmarks takes around 20% of the whole executable model generation time. It is required to investigate if we could achieve the same with a less expensive implementation.

            rhn-support-tkobayas Toshiya Kobayashi
            mfusco@redhat.com Mario Fusco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: