aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam NAILI2018-05-01 23:21:14 +0200
committerAdam NAILI2018-05-01 23:21:14 +0200
commit1248a6594974d28c32b733d768ea60fb3fbe490d (patch)
tree3eef3200b418a1e2597c546e94e84e92aca3cd7a
parent853cce9bb24aa6e699ea3906be1e4979c4e57c46 (diff)
downloadmempager-simulator-1248a6594974d28c32b733d768ea60fb3fbe490d.tar.gz
Removing a forgotten debug print in lru.py and adding Mr abbreviation in reportHEADmaster
-rw-r--r--lru.py3
-rw-r--r--report.md2
2 files changed, 1 insertions, 4 deletions
diff --git a/lru.py b/lru.py
index 53b122a..76af4c4 100644
--- a/lru.py
+++ b/lru.py
@@ -54,9 +54,6 @@ class LruPaginator:
54 54
55 def _put_main(self, page): 55 def _put_main(self, page):
56 self._check_where_to_replace() 56 self._check_where_to_replace()
57 print("Cursor:")
58 print(self._main_cursor)
59 print("")
60 overwritten = self.mem.main[self._main_cursor] 57 overwritten = self.mem.main[self._main_cursor]
61 self.mem.main[self._main_cursor] = page 58 self.mem.main[self._main_cursor] = page
62 self._update_check_table(page) 59 self._update_check_table(page)
diff --git a/report.md b/report.md
index 83c893f..e66b8d3 100644
--- a/report.md
+++ b/report.md
@@ -6,7 +6,7 @@ This file document explains the motivation behind implementation choices that ha
6## Language choice 6## Language choice
7 7
8This program has been implemented in Python. 8This program has been implemented in Python.
9This language choice has been approved by Sylvain Cherrier on 2018-03-17. 9This language choice has been approved by Mr Sylvain Cherrier on 2018-03-17.
10 10
11Python has been chosen for its conciseness, expressiveness, object and inheritance support and its various libraries easing the development of the interactive command line interface and swappable algorithms. 11Python has been chosen for its conciseness, expressiveness, object and inheritance support and its various libraries easing the development of the interactive command line interface and swappable algorithms.
12 12