summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorsteven-vd <steven@vandorp.lu>2026-09-04 10:03:12 +0200
committersteven-vd <steven@vandorp.lu>2026-09-04 10:03:12 +0200
commite52fbd410b184e09abf3534e1ae43b0f4bd47a84 (patch)
tree60b3f1ab746e7ac5363e841acba4c0d36b64b1e1 /benchmarks
parentee081ca70322cd01d0642fdb1860e6bfbfb48e85 (diff)
replace xml_has_children with xml_has_children_no_rewind. Add non-modifying xml_has_children
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/imxml/count_highway_crossings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/imxml/count_highway_crossings.c b/benchmarks/imxml/count_highway_crossings.c
index f758a05..70308f7 100644
--- a/benchmarks/imxml/count_highway_crossings.c
+++ b/benchmarks/imxml/count_highway_crossings.c
@@ -24,7 +24,7 @@ size_t count_highway_crossings_cheat_and_early_out (char const* const buffer) {
if (imxml_streql(value, imxml_strlit("crossing"))) {
total += 1;
}
- } else if (imxml_streql(tag, imxml_strlit("way"))) {
+ } else if (imxml_streql(tag, imxml_strlit("/osm"))) {
break;
}
}