summaryrefslogtreecommitdiff
path: root/tests/allocator.hpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-05 07:58:05 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-05 07:58:05 +0000
commit89f2f00da45dd213890a7f38247399b5b8a3eb78 (patch)
treedbcdd41d25458fa578078b8c7865eaef6b0fe86c /tests/allocator.hpp
parent5239fcbd0030ce7dcca1ee05dab0e8be3a98a288 (diff)
XPath: Store string length inside string object
When xpath_string is heap-allocated we always know the length of the string at some point - it is now stored in the object. This reduces redundant string length calculations and makes string_value() much faster in case it has to concatenate strings. git-svn-id: https://pugixml.googlecode.com/svn/trunk@1053 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/allocator.hpp')
0 files changed, 0 insertions, 0 deletions