[ 
https://issues.apache.org/jira/browse/DAFFODIL-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Beckerle closed DAFFODIL-1449.
-----------------------------------
    Resolution: Not A Problem

Need profiling before making performance changes.

> Performance: Use Java HashMap, not Scala HashMap, which allocates constantly.
> -----------------------------------------------------------------------------
>
>                 Key: DAFFODIL-1449
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1449
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: Back End, Performance
>    Affects Versions: 1.1.0
>            Reporter: Mike Beckerle
>            Priority: Major
>
> Scala's mutable HashMap allocates a Some[T] object for every successful 
> get(key) call.
> This is unacceptable overhead for something done so frequently.
> Use Java's HashMap instead, where get(key) returns a value or null, and never 
> allocates anything.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to