Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-9327 Conditional code improvements: Stage 3
  3. HPCC-13034

Generate simple scalar expressions unconditionally

    XMLWordPrintable

Details

    • Sub-task
    • Status: Accepted
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Code Generator

    Description

      In many cases it would be simplest and most efficient to generate a series of conditional attributes as if they were procedural code:

      x1 := IF(c1, b, c);
      x2 := IF(c2, x1, ...);
      x3 := IF(c3, x1, x2);
      

      Which would avoid some of the combinatorial explosion in code size.

      As an initial version assume all external functions and dataset operations are costly.

      Attachments

        Activity

          People

            ghalliday Gavin Halliday
            ghalliday Gavin Halliday
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: