You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[C++ Core Guidelines: Per.4: Don't assume that complicated code is necessarily faster than simple code](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#per4-dont-assume-that-complicated-code-is-necessarily-faster-than-simple-code)
358
358
-[C++ Core Guidelines: Per.5: Don't assume that low-level code is necessarily faster than high-level code](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#per5-dont-assume-that-low-level-code-is-necessarily-faster-than-high-level-code)
359
359
360
-
## Exercise 1 [30 mins]
360
+
## Exercise 1 \[30 mins\]
361
361
362
362
Create speed profile of any function you like.
363
363
364
-
*[ ] Remind Python and R code on learner's repo
364
+
-[ ] Remind Python and R code on learner's repo
365
365
366
-
## Exercise 2 [SKIP]
366
+
## Exercise 2 \[SKIP\]
367
367
368
368
Create speed profile of https://www.pythonpool.com/check-if-number-is-prime-in-python/
369
369
370
-
## Exercise 3 [SKIP]
370
+
## Exercise 3 \[SKIP\]
371
371
372
372
Create speed profile of DNA alignment
373
373
@@ -409,16 +409,17 @@ Adapt the constant to reality.
409
409
410
410
## Case study
411
411
412
-
*[ ] Show ProjectRampal
413
-
*[ ] Maybe Marcus has a case study :-)
412
+
-[ ] Show ProjectRampal
414
413
415
-
## Recap
414
+
## Discussion
416
415
417
416
- Be critical on speed optimization solutions
418
417
- Tested and clean code always comes first
419
418
- Measure correctly, at the right complexity, before and after
420
419
- Prefer changing big-O over micro-optimizations (but see first point!)
0 commit comments