jkesselm 01/12/13 13:35:40
Modified: java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
Log:
Part 2a of 2: Reducing initial space requirements of a DTM. This may
involve a slight performance hit in some circumstances due to
smaller and more complex subdivision of FastStringBuffers,, but
should help stylesheets which generate a lot of Result Tree
Fragments.
Note that a better long-term answer will be to reduce the number of
DTMs tied up as RTFs
Revision Changes Path
1.23 +2 -2
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.java
Index: SAX2DTM.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- SAX2DTM.java 2001/12/13 18:08:42 1.22
+++ SAX2DTM.java 2001/12/13 21:35:40 1.23
@@ -115,8 +115,8 @@
* pending reduction in number of RTFs.
* However, I've got a bug in whitespace normalization to fix first.
*/
- private FastStringBuffer m_chars = new FastStringBuffer(13, 13);
- //private FastStringBuffer m_chars = new FastStringBuffer(5, 13);
+ //private FastStringBuffer m_chars = new FastStringBuffer(13, 13);
+ private FastStringBuffer m_chars = new FastStringBuffer(5, 13);
/** This vector holds offset and length data. */
protected SuballocatedIntVector m_data;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]