This commit is contained in:
vincent 2023-07-21 23:17:56 +08:00
parent 661604b9a6
commit c053fa9862

View File

@ -197,7 +197,7 @@ def process_lines_in_batches(lines, batch_size):
if __name__ == "__main__":
task_file = "input.txt"
batch_size = 3 # 每个线程处理的行数
lines = read_lines_from_file(task_file)
process_lines_in_batches(lines, batch_size)
print("finish, 程序结束...")