1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

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
This commit is contained in:
Daniel Veillard
2003-09-15 14:50:06 +00:00
parent 62998c0ec7
commit 8a44e59d67
87 changed files with 36625 additions and 26 deletions

View File

@@ -262,6 +262,13 @@ struct _xmlParserCtxt {
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 */
};
/**