Join Simon Allardice for an in-depth discussion in this video Disk-based resources, part of Programming Foundations: Code Efficiency.
We've gone through a lot of content on…memory and algorithmic efficiency, our first two areas.…And now we get to areas three…and four, looking at disk-based, and network resources.…Now, these won't need as much discussion here for a couple of reasons.…First, many of the ideas we've already covered apply here, too.…And secondly, because a lot of the decisions we do need…to make can be made by understanding just a few basic principles.…So, beginning with the disk.…Your application…reads in reads in or writes to some file, some asset, some resource.…
It might need to load in several images, might save to a preferences file,…load information from a local database, or…save documents to a user's home home folder.…But, I'm talking here about reading or writing…to a file-based resource on a local drive.…A drive is a challenging word these days,…doesn't necessarily mean a spinning hard drive clatter anymore.…If we're talking about a mobile application on…a phone or tablet, then that file resource…is on the device's flash storage as part…
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?
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.