From 209ccdfe8317fe701c2e852cfcebb4993a5622a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Fri, 10 May 2024 14:00:40 +0200 Subject: [PATCH] fixup! print distribution of encoding chunks --- analysis/code_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis/code_analysis.py b/analysis/code_analysis.py index aa2b9e8..96e90c4 100644 --- a/analysis/code_analysis.py +++ b/analysis/code_analysis.py @@ -431,7 +431,7 @@ def analyse_top_bytecodes(dataset_file: Path, result_file: Path): total_v = 0 total_encoding_len = [0] * len(SCHEMES) - encoding_dist = [defaultdict(int)] * len(SCHEMES) + encoding_dist = [defaultdict(int) for _ in SCHEMES] fio_dist = [0] * 33 fio_dist_adj = [0] * 33 for row in data: