diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-09 20:37:49 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-09 20:37:49 +0000 |
commit | 5ff56a6d68ce6fbab0980232d95b5d190e2ecdcf (patch) | |
tree | 734c2f28e532135fe7a2088be48f98c7b44cc5fd /src/pugixml.hpp | |
parent | e96af87b5dc678a64aad061cc2955eaa463c09a2 (diff) |
Removed document order optimization (it helps on a tiny percentage of queries), XPath tests now compute their own order
git-svn-id: http://pugixml.googlecode.com/svn/trunk@400 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r-- | src/pugixml.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 8b4a733..83c4ee0 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -644,7 +644,7 @@ namespace pugi bool as_bool() const;
/// \internal Document order or 0 if not set
- unsigned int document_order() const;
+ PUGIXML_DEPRECATED unsigned int document_order() const;
public:
/**
@@ -787,9 +787,6 @@ namespace pugi /// \internal Initializing ctor
explicit xml_node(xml_node_struct* p);
- /// \internal Precompute document order (valid only for document node)
- void precompute_document_order_impl();
-
/// \internal Get allocator
xml_allocator& get_allocator() const;
@@ -1457,7 +1454,7 @@ namespace pugi #endif
/// \internal Document order or 0 if not set
- unsigned int document_order() const;
+ PUGIXML_DEPRECATED unsigned int document_order() const;
/**
* Print subtree to writer
@@ -2019,7 +2016,7 @@ namespace pugi * Compute document order for the whole tree
* Sometimes this makes evaluation of XPath queries faster.
*/
- void precompute_document_order();
+ PUGIXML_DEPRECATED void precompute_document_order();
};
#ifndef PUGIXML_NO_XPATH
|