summaryrefslogtreecommitdiff
path: root/tests/test_xpath_functions.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-12 02:05:59 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-12 02:12:15 -0700
commitd6f7766172bd3dcd6b286888f5bdfdcb1953f3ba (patch)
tree68cc60af797c45b68b5ed6700bf4daecf1bfa0fb /tests/test_xpath_functions.cpp
parent99afee183225f6f33f3289030c992738ccaf13fe (diff)
Optimize xml_node::path() to use 1 allocation
Instead of reallocating the string for every tree level just do two passes over the ancestor chain.
Diffstat (limited to 'tests/test_xpath_functions.cpp')
0 files changed, 0 insertions, 0 deletions