starting work on reusing the parser dictionary for the element and
* SAX2.c include/libxml/parser.h: starting work on reusing the
parser dictionary for the element and attribute tag names.
Add pools for Element and Attributes in the parser context,
which should help speeding up the reader.
* Makefile.am result/*.rdr : adding non-python reader regression
tests.
Daniel
diff --git a/include/libxml/parser.h b/include/libxml/parser.h
index 2d725f5..74e3185 100644
--- a/include/libxml/parser.h
+++ b/include/libxml/parser.h
@@ -262,6 +262,13 @@
xmlHashTablePtr attsDefault; /* defaulted attributes if any */
xmlHashTablePtr attsSpecial; /* non-CDATA attributes if any */
int nsWellFormed; /* is the document XML Nanespace okay */
+
+ /*
+ * Those fields are needed only for treaming parsing so far
+ */
+ int dictNames; /* Use dictionary names for the tree */
+ xmlNodePtr freeElems; /* List of freed element nodes */
+ xmlAttrPtr freeAttrs; /* List of freed attributes nodes */
};
/**