Join Simon Allardice for an in-depth discussion in this video Rule 3: Understand what's under your control, part of Programming Foundations: Code Efficiency.
We can't treat efficiency as one problem with one solution.…Even trying to summarize the word results in ugly business…buzz word phrases like, making efficient use of computational resources.…Well, we could simplify that as just making…the most of what we have available to us.…The memory, the CPU, the file assets and the network abilities of whatever we have.…But that doesn't mean always grabbing as much as…possible, it may mean the opposite. It may mean being a good neighbor.…But before we dive into those four specific…areas of memory, algorithmic…efficiency,disk based resources, network resources.…
We must first ask, where is this application running?…What is it doing? What can we predict about that?…And importantly, is there anything we control about this?…Because if we do not ask those questions, and…we just treat all applications the same, we…will miss opportunities for those big efficiency improvements.…So as an example, let's imagine a web application.…This is publicly available on the internet.…Nothing remarkable, moderate complexity.…
Learn to choose the right data types, understand the pitfalls of using high-level languages, and decide where to spend your time. Plus, see how the underlying memory management model may have more of an impact than you realize, and what performance issues you can expect working with databases and web services.
- Identifying problems in the code
- Embracing constraints
- Using code analysis tools to measure performance
- Managing memory
- Managing disk-based and network resources
Skill Level Beginner
Programming Foundations: Refactoring Codewith Simon Allardice1h 44m Intermediate
1. Approaching Efficiency
4. Algorithmic Efficiency
5. Disk-Based and Network Resources
Next steps6m 4s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.