From ab2431ca36139c6d450adfe275d1e14088633eed Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 26 May 2018 14:53:28 +0200 Subject: Micro-optimize _parse_help() loop Shaves ~6% off the _parse_help() runtime for the x86 Kconfigs in cProfile. --- testsuite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index 13793f1..1d79fa6 100644 --- a/testsuite.py +++ b/testsuite.py @@ -927,14 +927,14 @@ g verify_locations(c.syms["MULTI_DEF"].nodes, "tests/Klocation:7", - "tests/Klocation:31", + "tests/Klocation:37", "tests/Klocation_sourced:3", "tests/sub/Klocation_rsourced:2", "tests/sub/Klocation_gsourced1:1", "tests/sub/Klocation_gsourced2:1", "tests/sub/Klocation_grsourced1:1", "tests/sub/Klocation_grsourced2:1", - "tests/Klocation:54") + "tests/Klocation:60") verify_locations(c.named_choices["CHOICE"].nodes, "tests/Klocation_sourced:5") -- cgit v1.2.3