質問編集履歴
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -47,8 +47,6 @@
|
|
47
47
|
future_list = []
|
48
48
|
|
49
49
|
dict_a={}
|
50
|
-
|
51
|
-
dict_b={}
|
52
50
|
|
53
51
|
dict_output={}
|
54
52
|
|
@@ -120,8 +118,6 @@
|
|
120
118
|
|
121
119
|
dict_a={}
|
122
120
|
|
123
|
-
dict_b={}
|
124
|
-
|
125
121
|
dict_output={}
|
126
122
|
|
127
123
|
dict_range={'key1':1,'key2':2,'key3':3,'key4':4,'key5':5,'key6':6,'key7':7,'key8':8,'key9':9,'key10':10,'key11':11,'key12':12,'key13':13,'key14':14,
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -136,8 +136,6 @@
|
|
136
136
|
|
137
137
|
future_list.append(future)
|
138
138
|
|
139
|
-
dict_output[i]=future.result() #この行を消すと並列実行を行ってくれる
|
140
|
-
|
141
139
|
_ = futures.as_completed(fs=future_list)
|
142
140
|
|
143
141
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -63,8 +63,6 @@
|
|
63
63
|
future = executor.submit(sample_func, index=i,key_a=key_a)
|
64
64
|
|
65
65
|
future_list.append(future)
|
66
|
-
|
67
|
-
b_list.append(i)
|
68
66
|
|
69
67
|
dict_output[i]=future.result() #この行を消すと並列実行を行ってくれる
|
70
68
|
|