We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d51d8d7 commit ea2ad77Copy full SHA for ea2ad77
1 file changed
rounds/3_dna/solution.py
@@ -41,7 +41,7 @@ def find_matches(fasta_path: str, pattern: bytes) -> list[tuple[str, list[int]]]
41
records = [record for record in text.split(">") if record.strip()]
42
matches: list[tuple[str, list[int]]] = []
43
44
- with ThreadPoolExecutor(max_workers=16) as executor:
+ with ThreadPoolExecutor(max_workers=4) as executor:
45
for result in executor.map(_process_record, records, repeat(pattern_str)):
46
if result:
47
matches.append(result)
0 commit comments