commit | 2bdabbd711356e534940431053523f1538d1a93e | [log] [tgz] |
---|---|---|
author | Kasimier T. Buchcik <kbuchcik@src.gnome.org> | Fri May 19 11:26:15 2006 +0000 |
committer | Kasimier T. Buchcik <kbuchcik@src.gnome.org> | Fri May 19 11:26:15 2006 +0000 |
tree | 4e33fb15e1ccb1b1d0669d1e8b91771e066c55f6 | |
parent | 6ed2eb47fcf485283c6dc2dbd0ba0270f22a23b6 [diff] |
Optimized the comparison for non-element nodes in xmlXPathCmpNodesExt(); * xpath.c: Optimized the comparison for non-element nodes in xmlXPathCmpNodesExt(); the comparison is used for sorting of node-sets. This enhancement is related to bug #165547. There are other places where the old comparison function xmlXPathCmpNodes() is still called, but I currently don't know exactly what those calls are for; thus if they can be substituted (if it makes sense) for the new function.