From e52fbd410b184e09abf3534e1ae43b0f4bd47a84 Mon Sep 17 00:00:00 2001 From: steven-vd Date: Fri, 4 Sep 2026 10:03:12 +0200 Subject: replace xml_has_children with xml_has_children_no_rewind. Add non-modifying xml_has_children --- benchmarks/imxml/count_highway_crossings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmarks') 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; } } -- cgit v1.2.3