diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-12 02:05:59 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-12 02:12:15 -0700 |
commit | d6f7766172bd3dcd6b286888f5bdfdcb1953f3ba (patch) | |
tree | 68cc60af797c45b68b5ed6700bf4daecf1bfa0fb /tests/helpers.hpp | |
parent | 99afee183225f6f33f3289030c992738ccaf13fe (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/helpers.hpp')
0 files changed, 0 insertions, 0 deletions