Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1460

Need macros for schemaDefinitionUnless

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0
    • 2.0.0
    • Back End, Performance
    • None

      For runtime schema definition errors, when we use schemaDefinitionUnless (and similar functions), a WrappedArray is allocated for the variable arguments to be passed into the function. This allocation can be noticeable, and in most cases, the allocated array won't even be used because there isn't a schema definition. Similar to other functions, we should create macros for schemaDefintionUnless so that the WrappedArray is only allocated when there is an actual SDE.

              dthompson David Thompson
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: