a lot of performance work especially the speed of streaming through the
* globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c
xmlreader.c include/libxml/parser.h: a lot of performance work
especially the speed of streaming through the reader and push
interface. Some thread related optimizations. Nearly doubled the
speed of parsing through the reader.
Daniel
diff --git a/libxml.h b/libxml.h
index 8b1b949..fcf0f9e 100644
--- a/libxml.h
+++ b/libxml.h
@@ -40,4 +40,10 @@
#include "trio.h"
#endif
+/*
+ * Internal variable indicating if a callback has been registered for
+ * node creation/destruction. It avoids spending a lot of time in locking
+ * function while checking if the callback exists.
+ */
+extern int __xmlRegisterCallbacks;
#endif /* ! __XML_LIBXML_H__ */