XSModel: Reduce footprint and reduce search times over SymbolHash maps in the 
SchemaGrammar
-------------------------------------------------------------------------------------------

                 Key: XERCESJ-1499
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1499
             Project: Xerces2-J
          Issue Type: Improvement
          Components: XML Schema 1.0 Structures, XML Schema 1.1 Structures, XML 
Schema API
    Affects Versions: 2.11.0
            Reporter: Michael Glavassevich
            Priority: Minor


To support the toleration of duplicate schema components the number of 
SymbolHash maps stored per SchemaGrammar was doubled and with that 
significantly increased the footprint of an XSModel.  Many of these maps are 
usually empty or almost empty, so I plan to reduce their initial size so that 
they do not waste as much space when they have not been filled.  I also plan to 
implement a rehash on the SymbolHash to keep the search times down when there 
are lots of entries.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to