hashmaps are now first class objects in the language

This commit is contained in:
Felix Brendel
2019-10-04 17:48:31 +02:00
parent ac70c14e5b
commit 5e82f9175d
15 changed files with 166 additions and 51 deletions
+1 -2
View File
@@ -17,10 +17,9 @@ def append_to_datas(thread, data):
ensure_big_enough(datas, thread, [])
datas[thread].append(data)
with open("../bin/profiler.report", "r") as file:
with open("../src/profiler_reports/04.10.2019-13.29.21-140737348403048-profiler.report", "r") as file:
for line in file:
infos = line.split()
thread = int(infos[0])
if infos[1] == "->":
incr_call_depth(thread)
append_to_datas(thread, {