Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2852

VariableMap copies during suspensions cause performance degredation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • Back End, Unparsing
    • None

    Description

      When a suspension is created when unparsing, we create a copy of the VariableMap so that future newVariableInstances do not affect the supension. The current VariableMap internals uses a Map of ArrayBuffers, both of which are fairly expensive to copy, with the overhead showing up heavily when profiling. We should change the VariableMap internals to use a data structure that allows fast copies, while still maintaining constant time lookups.

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: