From a58131c9dc30b38f0e7271a8b0309915ce559c3a Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine@gmail.com" Date: Wed, 14 Mar 2012 06:04:50 +0000 Subject: Added PUGIXML_MEMORY constants for tweaking memory behaviour; useful for embedded systems or for unusual cases (i.e. thousands of small documents in memory) git-svn-id: http://pugixml.googlecode.com/svn/trunk@860 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugiconfig.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pugiconfig.hpp') diff --git a/src/pugiconfig.hpp b/src/pugiconfig.hpp index 8842180..465fd21 100644 --- a/src/pugiconfig.hpp +++ b/src/pugiconfig.hpp @@ -36,6 +36,11 @@ // #define PUGIXML_HEADER_ONLY // #include "pugixml.cpp" +// Tune these constants to adjust memory-related behavior +// #define PUGIXML_MEMORY_PAGE_SIZE 32768 +// #define PUGIXML_MEMORY_OUTPUT_STACK 10240 +// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096 + #endif /** -- cgit v1.2.3