From 58cb097c8a2ea48f2e7a20c68373a96a70fec41d Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Tue, 24 Jan 2023 04:55:57 -0500 Subject: More thread work. Make matchId a global -- hopefully improves perf. --- virtual-programs/with-all.folk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'virtual-programs') diff --git a/virtual-programs/with-all.folk b/virtual-programs/with-all.folk index 6eb3a21e..e7bbec8f 100644 --- a/virtual-programs/with-all.folk +++ b/virtual-programs/with-all.folk @@ -24,7 +24,7 @@ When /someone/ wishes to collect matches for /clause/ { set matches [dict get $::collectedMatches $clause] Say the collected matches for $clause are [dict keys $matches] } - } $clause $__matchId] + } $clause $::matchId] } On unmatch { dict unset ::collectedMatches $clause } } -- cgit v1.2.3