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

Move DFA creation/allocaiton code out of the parse() method

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • s14
    • None
    • None
    • None

      In cases were delimiter/escaparChars/etc are static, we can create all the necessary DFAs at compile time. Right now, we create a new DFA for every parse, which is going to hurt performance. We should follow the pattern used in PrimitivesTextNumber.scala and use different static/dynamic factories that optimize dfa creation.

              efinnegan Elizabeth Finnegan
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: