From b6d686305596b2c26a89f58237c2b8f162d5ae2b Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 17 Dec 2019 23:21:54 +0100 Subject: Remove unused scripts from the `misc/scripts` directory This also makes `make_icons.sh` executable directly. --- misc/scripts/memsort.py | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 misc/scripts/memsort.py (limited to 'misc/scripts/memsort.py') diff --git a/misc/scripts/memsort.py b/misc/scripts/memsort.py deleted file mode 100644 index fb636b0f78..0000000000 --- a/misc/scripts/memsort.py +++ /dev/null @@ -1,35 +0,0 @@ - -import sys - -arg = "memdump.txt" - -if (len(sys.argv) > 1): - arg = sys.argv[1] - -f = open(arg, "rb") - - -l = f.readline() - - -sum = {} -cnt = {} - - -while(l != ""): - - s = l.split("-") - amount = int(s[1]) - what = s[2] - if (what in sum): - sum[what] += amount - cnt[what] += 1 - else: - sum[what] = amount - cnt[what] = 1 - - l = f.readline() - - -for x in sum: - print(x.strip() + "(" + str(cnt[x]) + "):\n: " + str(sum[x])) -- cgit v1.2.3