Skip to content

Commit 209ccdf

Browse files
committed
fixup! print distribution of encoding chunks
1 parent 3a1a1d3 commit 209ccdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analysis/code_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def analyse_top_bytecodes(dataset_file: Path, result_file: Path):
431431
total_v = 0
432432

433433
total_encoding_len = [0] * len(SCHEMES)
434-
encoding_dist = [defaultdict(int)] * len(SCHEMES)
434+
encoding_dist = [defaultdict(int) for _ in SCHEMES]
435435
fio_dist = [0] * 33
436436
fio_dist_adj = [0] * 33
437437
for row in data:

0 commit comments

Comments
 (0)