Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-13204

Optimize SET(dataset, field) + [value]

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Code Generator
    • Labels:

      Description

      SET(dataset, field) + [value]

      currently creates
      createSetA
      createSetB
      appendsets
      more efficient would be to implement as

      SET(dataset + value-row, field) [ especially if dataset only has a single field..]

      That could either be within the implementation of appendset or as a tree transformation. It would simplify the code and avoid a clone of the set.
      It may also allow further optimizations if it was done as a tree transform.

        Attachments

          Activity

            People

            • Assignee:
              anybody Available for anyone
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: