]> git.ipfire.org Git - thirdparty/curl.git/commit
runtests: memoize the getpart* subroutines to speed up access
authorDan Fandrich <dan@coneharvesters.com>
Fri, 24 Mar 2023 20:08:06 +0000 (13:08 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 30 Mar 2023 16:12:52 +0000 (09:12 -0700)
commit2039253c6e10b6f3d17d7f6dcdc6228f7b0b3784
treed4eeab127758b7889b817112f29c902a465d559f
parent1f631864f46c179dc18299b807f7599d9085dc7a
runtests: memoize the getpart* subroutines to speed up access

The refactored code calls these functions with the same arguments more
often, so this prevents redundant test case file parsing.

Approved-by: Daniel Stenberg
Ref: #10818
Closes #10833
tests/getpart.pm