summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-14 08:01:03 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-14 08:04:06 -0700
commitf828eae3eaca02c9659d63cbcab65c9dd8e13869 (patch)
tree71347971f8e7c857f49f2f7a2d4ecaef390e939f /README.md
parent01f627a4d75ae25850bc29df74112696da571326 (diff)
Implement xml_node::attribute with a hint
Extra argument 'hint' is used to start the attribute lookup; if the attribute is not found the lookup is restarted from the beginning of the attriubte list. This allows to optimize attribute lookups if you need to get many attributes from the node and can make assumptions about the likely ordering. The code is correct regardless of the order, but it is faster than using vanilla lookups if the order matches the calling order. Fixes #30.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions