Skip to content

Commit

Permalink
otimização de desempenho
Browse files Browse the repository at this point in the history
  • Loading branch information
thotypous committed Dec 14, 2022
1 parent d20d8a3 commit 0ac8be6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion var-ue.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def main():
if args.parallel:
from multiprocessing import Pool
p = Pool()
p.map(verify_file, vscmr_files)
for _ in p.imap_unordered(verify_file, vscmr_files):
pass
else:
for vscmr_filename in vscmr_files:
verify_file(vscmr_filename)
Expand Down

0 comments on commit 0ac8be6

Please sign in to comment.