summaryrefslogtreecommitdiff
path: root/src/pugiconfig.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-14 06:04:50 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-14 06:04:50 +0000
commita58131c9dc30b38f0e7271a8b0309915ce559c3a (patch)
treeb8e448a368be382566ee1c9e48b618d336d6f103 /src/pugiconfig.hpp
parent35ea9a6088222823998bcce99367a32abc455f67 (diff)
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
Diffstat (limited to 'src/pugiconfig.hpp')
-rw-r--r--src/pugiconfig.hpp5
1 files changed, 5 insertions, 0 deletions
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
/**