Join Simon Allardice for an in-depth discussion in this video Areas not covered, part of Programming Foundations: Code Efficiency.
Now let me finish this introductory and conceptual section by…being very explicit about three potential areas where we might…have used the word efficiency but that I am not…going to cover in-depth in this course, and I'll explain why.…First is the idea of efficiency of the overall design.…The software architecture of the planning of the application.…A decision's made here, of course. Effect of the…efficiency of the written application.…But here's the problem and here's why I'm not talking much about it.…
We're lookig at things we can measure here.…And while we can measure the effect of an implemented…design, it's not really feasible to measure the design directly to…say look at two UML diagrams and say well one…of them is going to be 16.7% faster than the other.…We can't really do that.…So, as with writing new code,…if you design, design first for clarity and later optimize for speed and…resource use based on what you can measure and if you need to.…Again, don't do that premature optimization.…
there are, as there always are, exceptions to the idea.…
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.