From 8bf3595e3a05f0cea7f12c463a0df09e4010cd1c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 8 Sep 2014 16:38:51 +0100 Subject: users/19059 based on users/19058: remove ineffiency with multiple * matches --- Test/D02glob.ztst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Test/D02glob.ztst') diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst index 4697ca414..217ce7c06 100644 --- a/Test/D02glob.ztst +++ b/Test/D02glob.ztst @@ -565,3 +565,10 @@ print $match[1] 0:(#q) is ignored completely in conditional pattern matching >fichier + +# The following should not cause excessive slowdown. + print glob.tmp/*.* + print glob.tmp/**************************.************************* +0:Optimisation to squeeze multiple *'s used as ordinary glob wildcards. +>glob.tmp/ra=1.0_et=3.5 +>glob.tmp/ra=1.0_et=3.5 -- cgit 1.4.1