Program/Data Structure Size
A program's size can affect the time it takes for it to start. In addition, a larger program or a program with large data structures can take up enough memory to force the operating system to keep moving pieces of the program back and forth from disk, which drastically hinders performance.
Unfortunately, size can be very difficult to control. Most modern object-oriented programs depend on a vast and complex set of in-house and vendor-supplied libraries to perform all the functions users demand and to provide the graphical user interfaces most programs need. You can only rarely do without these libraries and can almost never reduce their size. The best you can hope for is a compiler optimization flag that causes the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access