You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jk...@apache.org on 2023/10/18 04:19:01 UTC

[xalan-java] branch XSLTC_DTM deleted (was 2ebd092c)

This is an automated email from the ASF dual-hosted git repository.

jkesselm pushed a change to branch XSLTC_DTM
in repository https://gitbox.apache.org/repos/asf/xalan-java.git


     was 2ebd092c Propogate the bug fixes for 15830 and 15636 from Arun Yadav (Arun.Yadav@sun.com) to XSLTC_DTM.

This change permanently discards the following revisions:

 discard 2ebd092c Propogate the bug fixes for 15830 and 15636 from Arun Yadav (Arun.Yadav@sun.com) to XSLTC_DTM.
 discard 74c2c0b5 Committing Christine Li's (jycli@ca.ibm.com) patch for bugzilla #18210.
 discard 31862eb0 Fix a bug in XSLTC_DTM. Change the name of the optimized getExpandedTypeID method to getgetExpandedTypeID2. The old one can be used during DTM building, while the new one is only used in document traversal.
 discard 13fbe647 XSLTC_DTM performance work Improvement in DTM building. Make the code more efficient in a few expensive interfaces.
 discard 734b82e3 XSLTC_DTM performance work Introduce a copyAttribute() method in SAXImpl to speed up attribute copying.
 discard 2da786eb XSLTC_DTM performance work Improvement for step[n]. Introduce a new interface getNodeByPosition(int position) in DTMAxisIterator, which is used by the NthIterator. The default implementation is in DTMAxisIteratorBase. The subclasses can override this interface to provide a faster customized implementation.
 discard 8a76ba0f Propagating Joe Kesselman's patch for version 1.16 of this file.  Original comment:
 discard ffe769e0 The generated code for xsl:decimal-format used the no argument constructor of DecimalFormatSymbols, which is affected by the default locale.  The default attribute values for xsl:decimal-format should not be affected by the default locale.  Instead, the en_US Locale should be passed to the constructor, as it has settings that are consistent with the defaults for xsl:decimal-format.
 discard 3503da75 Fix a bug for testcase axes129. DTMDefaultBase.getFirstNamespaceNode() should return NULL when the given node is not an element. axes129 passed in both Xalan and XSLTC_DTM after this change.
 discard 59619df1 Propagating Santiago's change to revision 1.6 of this file:
 discard 0c09c34e Changed XSLTC messages to extend ListResourceBundle, and use String keys to access messages.  Code used to extend ResourceBundle and used to use integer indices to access error messages.
 discard 6301b175 XSLTC_DTM performance work
 discard 96a4e5f3 Applying patch for bug 15332 from Igor Hersht (igorh@ca.ibm.com).  Ensure that patterns of the form processing-instruction() and processing-instruction('name') are given the right priorities.
 discard 990fda54 XSLTC_DTM performance work Save the offset and length of a Text node in a bitwise encoded value (10 bits for length and 21 bits for offset) if they are within certain limits. Before this change, we need 3 SuballocatedIntVector calls to get the offset and length information. Now we only need one SuballocatedIntVector call, one bit AND & one SHIFT. Bit AND and SHIFT are faster than accessing a SuballocatedIntVector.
 discard e1216b85 Merging latest changes from the MAIN branch back to the XSLTC_DTM branch.
 discard 524ac783 XSLTC_DTM performance work Small improvement in SAX2DTM2.getStringValueX() and dispatchCharacterEvents() by saving one local variable.
 discard cadb59bc XSLTC_DTM performance work Improvement in MultiDOM. Make the nodeHandle to DOMAdapter mapping a straight map. The code in getDTMId() is much light-weight than before, because the complicated stuff is moved to addDOMAdapter() which is only called once per DTM. In the case where the DTM id runs across several addressing range (the size of each range is 65536 - an unusal case), there will be several items in the adapter array for one DTM.
 discard 62a946ad XSLTC_DTM performance work Small improvement in FastStringBuffer.sendSAXCharacters() when the whole piece of text is in one chunk.
 discard becfd4fd Fix a bug which causes the docbook testcase to fail.
 discard a734bf30 XSLTC_DTM performance work Save the DTMManager in a field in MultiDOM. Don't compute it everytime in MultiDOM.getDTMId().
 discard b847cc47 XSLTC_DTM performance work
 discard d553f105 XSLTC_DTM performance work Set the namespace feature directly on the XMLReader. SAXParserFactory.setFeature() actually creates a temporary SAXParser to verify that feature. So we end up creating two SAXParsers per document() call in the old code.
 discard f090fb5e XSLTC_DTM performance work Save the values of attribute, namespace, comment and PI nodes in a plain Vector instead of in DTMStringPool. Saving a String in DTMStringPool involves a hash calculation. These values are unlikely to be equal. Saving them in a plain Vector has a lower cost than saving them in DTMStringPool. Only prefixed QNames are saved in DTMStringPool after this change.
 discard 6e812f40 Fix a bug that causes id function testcases to fail in trax.sax flavor.
 discard 790fd0d7 XSLTC_DTM performance work Use a more sophisticated algorithm in StringValueHandler. Do not create new Strings if there is only String value. Creating many new Strings is an expensive operation.
 discard 16c3b338 XSLTC_DTM performance work Improvement in StreamOutput.escapeString(). Do not create the StringBuffer if there is nothing to escape.
 discard 79f17948 XSLTC_DTM performance work Small tweaks in DOMAdapter. Invoking a final method is generally faster than invoking a method via interface.
 discard dadb4fd2 XSLTC_DTM performance work Improvement for xsl:strip-space by caching the DTM that is used last time. Better Collator handling in NodeSortRecord.
 discard 6f364488 XSLTC_DTM performance work Improvement for xsl:number. Introduce an optimized version of getExpandedTypeID() in SAX2DTM2.
 discard 98431e74 XSLTC_DTM performance work
 discard a51cc9d4 Add a new class SimpleResultTreeImpl as the model for simple RTF.
 discard d1fae657 XSLTC_DTM performance work
 discard f7900ab5 XSLTC_DTM performance work
 discard 5dff2fe7 Propagate the change from head branch to XSLTC_DTM. Add a new getTransformer() interface to TrAXFilter.
 discard 96040d09 Correct an error. The DTMDefaultBase.getPreviousSibling() interface returns a node handle instead of a node identity.
 discard f6d391a1 XSLTC_DTM performance work Do not create the previous sibling array for XSLTC. This array is not used in XSLTC's SAXImpl. Creating it is a waste of time.
 discard b9a87e95 XSLTC_DTM performance work Small improvement to DescendantIterator and TypedDescendantIterator.
 discard 35cb18e1 XSLTC_DTM performance work Improvement for RTF. These changes improve the performance for stylesheets which create and throw away many small RTFs.
 discard dd640107 XSLTC_DTM performance work Minor cleanup to SAXImpl.copy() and copyElement(). Introduce a new interface handleTextEvents() to handle Text nodes more efficiently.
 discard fbb6f1c5 XSLTC_DTM performance work Improvement for xsl:copy-of. Instead of using the expensive getFirstAttribute() and getFirstNamespace() interfaces, increase the element id by 1 to iterate through all attribute and namespace nodes.
 discard 34881abe XSLTC_DTM performance work Set the nextsib element of an attribute or namespace node to -1. This makes the logic in the iterators simpler and easier to maintain.
 discard 3636f5eb XSLTC_DTM performance work Improvement to DescendantIterator. If _startNode is the root node, do not need to do the isDescendant() check.
 discard b0a4912c Propagate the Message and getTreeString() changes from the head branch to XSLTC_DTM.
 discard 894aab87 XSLTC_DTM performance work Small improvement to SAXImpl.copyElement(). Move the getStringValue() method from SAXImpl to SAX2DTM2. Remove the SAXImpl.stringValueAux() method.
 discard 1886e3fe XSLTC_DTM performance work Do not use the expensive getPrefix() interface in SAX2DTM2.startElement(). Just compare the lengths of the qname and localName. If the lengths are different, put the qname into the string pool.
 discard dce7d283 Patch for bugzilla #17030.  The command line (Process) uses the bootstrap classloader (in JDK1.4) instead of the system class loader to load classes specified by the URIResolver, EntityResolver and ContentHandler options.
 discard 162067b8 XSLTC_DTM performance work Override _exptype() and dispatchCharactersEvents() in SAX2DTM2. The new dispatchCharactersEvents(int, ContentHandler) interface is slightly different from the one in SAX2DTM in that it does not have the boolean parameter.
 discard 29f32c17 XSLTC_DTM performance work Revamp the ExpandedNameTable. Instead of using java.util.Hashtable, we directly integrate a simple hash algorithm into this class. This is proved to be a significant improvement for documents which have many expanded names. The get() and put() operations are combined together to share the same hash calculation code. There is a new rehash() method which is responsible for expanding the hash table. The inner class HashEntry represents an entry in [...]
 discard e67d0388 XSLTC_DTM performance work Remove the _parentStack array in SAXImpl. _parentStack contains the same information as m_parents in SAX2DTM. There is no need to keep duplicate information. We can use m_parents and m_previous to replace _parentStack.
 discard 0d279014 XSLTC_DTM performance work Improvement in DTM building. Copy the following interfaces to SAX2DTM2 and make a few small improvements: startElement, endElement, addNode, charactersFlush, comment, startDocument
 discard 24628314 XSLTC_DTM performance work Get rid of the unused fields and methods in SAXImpl, which are left over from the old XSLTC DOMImpl, but have no real values in the new SAXImpl. The unused fields include _namesArray, _types, _firstAttributeNode, _currentAttributeNode, _treeNodeLimit and _elementFilter. The unused interfaces include getElementFilter(), getNamesArray(), resizeArrays(), makeNamespaceNode() and nextAttributeNode().
 discard 389116a5 XSLTC_DTM performance work Improvement for xsl:strip-space. Store the mappings in a Hashtable so that the getMapping() interface only needs to be called once, instead of being called every time from DOMWSFilter.getShouldStripSpace().
 discard f2e72ac7 XSLTC_DTM performance work Improvement for FollowingIterator and TypedFollowingIterator. Import the code from the first() and next() interfaces of FollowingTraverser and optimize it.
 discard 0dc44734 Small improvement in TypedChildrenIterator. Move the code in while loop to a new interface getTypedSelfAndFollowingSibling(int, int).
 discard b9afef45 XSLTC_DTM performance work Improvement in TypedFollowingSiblingIterator. Move the code in while loop to the new interface getTypedFollowingSibling(int startNode, int exptype).
 discard 8ad4cc3c Performance improvement in AncestorIterator, TypedAncestorIterator, PrecedingIterator and TypedPrecedingIterator.
 discard df5d0ad0 XSLTC_DTM performance work Small improvement in TypedSingltonIterator, TypedRootIterator and ParentIterator. Change the code to use the optimized set of base accessor methods.
 discard 9efb25f3 Fix two bugs and make a small change in how SAX2DTM handle XMLString. 1. Use a safer algorithm in MultiDOM.addDOMAdapter() to decide whether we need to grow the internal array. The DTM ids might not always be sequential, as is the case when the stylesheet uses both RTFs and the document function. The old algorithm might fail under this scenario.
 discard a58c43bb Provide default implementations of XMLString and XMLStringFactory in org.apache.xml.utils. The default implementation is just a simple wrapper around a real String object. Although SAX2DTM2 no longer uses XMLString right now, some extensions and DOMImpl still make use of XMLStrings, which we do not want to change at the moment. This seems to be a better solution of removing the XPath dependency while keeping the semantics of all existing interfaces.
 discard 203147d6 Applying patch for Bugzilla bug 16745 from Igor Hersht (igorh@ca.ibm.com).
 discard 544aacbd Make XSLTC on DTM completely independent of Xalan and XPath
 discard b987308c In SAX2DTM.dispatchCharactersEvents(), return immediately when the node identity is -1.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org