DOMNamedNodeMapImpl::item() 10x preformance improvement
-------------------------------------------------------

         Key: XERCESC-1452
         URL: http://issues.apache.org/jira/browse/XERCESC-1452
     Project: Xerces-C++
        Type: Improvement
  Components: DOM  
    Versions: 2.6.0    
 Environment: All environments
    Reporter: Jeff Keasler


10 second bug fix -- change MAP_SIZE constant in DOMNamedNodeMapImpl.hpp from 
193 to 17.

I use literally millions of DomNodes each having 2-10 attributes and 
DOMNamedNodeMapImpl::item() is horribly implemented.  It makes sense to fix the 
problem by changing the definition of MAP_SIZE to 17.  Even people with 50 
attributes will get decent performance if you make this change, wheras the vast 
majority of people who only use 5-10 will see up to a 10x performance 
improvement.

Thank you.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to