From 0236b7c1a9c9b6e10094ff58b4c75696554264f7 Mon Sep 17 00:00:00 2001 From: jw2249a Date: Mon, 13 May 2024 13:27:53 +0000 Subject: [PATCH] accidentally removed multithreading in get_match_patterns when diagnosing a bug --- src/patterns.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patterns.jl b/src/patterns.jl index c123212..6865ada 100644 --- a/src/patterns.jl +++ b/src/patterns.jl @@ -97,7 +97,7 @@ function get_match_patterns(res::Vector{DiBitMatrix}, tf_tables::Dict{String, Ve dimy=res[1].nrows len=Int(res[1].data.len) lk = ReentrantLock() - for first_loc in 0:1024:len + Threads.@threads for first_loc in 0:1024:len last_loc = first_loc + 1024 if last_loc > len last_loc=len