Steve Lawrence created DAFFODIL-2852:
----------------------------------------

             Summary: VariableMap copies during suspensions cause performance 
degredation
                 Key: DAFFODIL-2852
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2852
             Project: Daffodil
          Issue Type: Bug
          Components: Back End, Unparsing
            Reporter: Steve Lawrence
            Assignee: Steve Lawrence
             Fix For: 3.6.0


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to