summaryrefslogtreecommitdiff
path: root/docs/manual
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-11-03 18:33:08 +0100
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-11-03 18:41:18 +0100
commit3950ee0433aaed3c35eaee7548bae5b00ee22a80 (patch)
tree92b0583828d33849b7cc622ae5fed1fb4ce02010 /docs/manual
parent97a515f8733d9555278b6eb3f3dc244a9580c308 (diff)
XPath: Refactor predicate application
Split number/boolean filtering logic into two functions. This creates an extra copy of a remove_if-like algorithm, but moves the type check out of the loop and results in better organized filtering code. Consolidate test-based dispatch into apply_predicate (which is now a member function).
Diffstat (limited to 'docs/manual')
0 files changed, 0 insertions, 0 deletions