[jira] [Created] (XERCESC-2224) DFAContentModel::checkUniqueParticleAttribution (): speed enhancement

"Even Rouault (Jira)" <[email protected]>
Newsgroups gmane.text.xml.xerces-c.devel
Message-ID <[email protected]>
Even Rouault created XERCESC-2224:
-------------------------------------

             Summary: DFAContentModel::checkUniqueParticleAttribution (): speed enhancement
                 Key: XERCESC-2224
                 URL: https://issues.apache.org/jira/browse/XERCESC-2224
             Project: Xerces-C++
          Issue Type: Improvement
            Reporter: Even Rouault


The complexity of this method is roughly O(n^3). Fuzzers can generate
schemas with n = several thousands. The test fTransTable[i][j] == XMLContentModel::gInvalidTrans
is independant of the k loop, and can thus being moved at a upper level
to improve runtime.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.