You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by bo...@apache.org on 2008/03/03 11:45:45 UTC
svn commit: r633031 -
/xerces/c/trunk/src/xercesc/dom/impl/DOMDocumentImpl.cpp
Author: borisk
Date: Mon Mar 3 02:45:44 2008
New Revision: 633031
URL: http://svn.apache.org/viewvc?rev=633031&view=rev
Log:
Adjust DOM heap allocation parameters to be the same as in 2.8.0 which appears to give the best overall performance
Modified:
xerces/c/trunk/src/xercesc/dom/impl/DOMDocumentImpl.cpp
Modified: xerces/c/trunk/src/xercesc/dom/impl/DOMDocumentImpl.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/dom/impl/DOMDocumentImpl.cpp?rev=633031&r1=633030&r2=633031&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/dom/impl/DOMDocumentImpl.cpp (original)
+++ xerces/c/trunk/src/xercesc/dom/impl/DOMDocumentImpl.cpp Mon Mar 3 02:45:44 2008
@@ -53,8 +53,8 @@
XERCES_CPP_NAMESPACE_BEGIN
// The chunk size to allocate from the system allocator.
-static const XMLSize_t kInitialHeapAllocSize = 0x2000;
-static const XMLSize_t kMaxHeapAllocSize = 0x10000;
+static const XMLSize_t kInitialHeapAllocSize = 0x4000;
+static const XMLSize_t kMaxHeapAllocSize = 0x20000;
static const XMLSize_t kMaxSubAllocationSize = 0x1000; // Any request for more bytes
// than this will be handled by
// allocating directly with system.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org