forked from k-glen/POP77001_Computer_Programming_2021
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path12_week.Rmd
More file actions
18 lines (10 loc) · 827 Bytes
/
12_week.Rmd
File metadata and controls
18 lines (10 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 12 Performance and Complexity
---
Getting the correct result and having well-structured and documented code are only two aspects of a good program. We also want our code to execute fast and, in some cases, for it to finish running in a moment, hour, day, year, lifetime... This week we more formally discuss algorithmic complexity and performance. In addition to theoretical considerations we look into measuring execution time and benchmarking specific operations.
## Required Readings
- Guttag Chs 11: A Simplistic Introduction to Algorithmic Complexity, 12: Some Simple
Algorithms and Data Structures;
## Additional Readings
- Wickham Ch [16: Performance](http://adv-r.had.co.nz/Performance.html), [17: Optimising Code](http://adv-r.had.co.nz/Profiling.html);
## Tutorial
- Benchmarking and measuring performance