Removing a forgotten debug print in lru.py and adding Mr abbreviation in report
HEADmaster2 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 | |
8 | This program has been implemented in Python. |
8 | This program has been implemented in Python. |
9 | This language choice has been approved by Sylvain Cherrier on 2018-03-17. |
9 | This language choice has been approved by Mr Sylvain Cherrier on 2018-03-17. |
10 | |
10 | |
11 | Python 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. |
11 | Python 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 | |
|