1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

- added the patch from Carl Nygard <cnygard@bellatlantic.net>

which allow impressive speed improvement on dataset with large text
   pieces, but at the cost of broken binary compatibility and slightly
   bigger memory usage.  Configure with --with-buffers to activate them,
   they are protected with XML_USE_BUFFER_CONTENT define.
 - added xmlCleanupPredefinedEntities(), memory allocation cleanup
Daniel
This commit is contained in:
Daniel Veillard
1999-12-01 09:51:45 +00:00
parent a0555cc9ec
commit f5c2c8707a
11 changed files with 484 additions and 123 deletions

View File

@ -37,6 +37,7 @@
#include "tree.h"
#include "parser.h"
#include "debugXML.h"
#include "xmlmemory.h"
static int debug = 0;
static int expr = 0;
@ -204,6 +205,10 @@ int main(int argc, char **argv) {
printf("\t--file : or\n");
printf("\t-f : read queries from files, args\n");
}
if (document != NULL)
xmlFreeDoc(document);
xmlCleanupParser();
xmlMemoryDump();
return(0);
}