Du er ikke logget ind
Beskrivelse
In todays fast and competitive world, a programs performance is just as important to customers as the features it provides. This practical guide teaches developers performance-tuning principles that enable optimization in C++. Youll learn how to make code that already embodies best practices of C++ design run faster and consume fewer resources on any computerwhether its a watch, phone, workstation, supercomputer, or globe-spanning network of servers.Author Kurt Guntheroth provides several running examples that demonstrate how to apply these principles incrementally to improve existing code so it meets customer requirements for responsiveness and throughput. The advice in this book will prove itself the first time you hear a colleague exclaim, Wow, that was fast. Who fixed something?Locate performance hot spots using the profiler and software timersLearn to perform repeatable experiments to measure performance of code changesOptimize use of dynamically allocated variablesImprove performance of hot loops and functionsSpeed up string handling functionsRecognize efficient algorithms and optimization patternsLearn the strengthsand weaknessesof C++ container classesView searching and sorting through an optimizers eyeMake efficient use of C++ streaming I/O functionsUse C++ thread-based concurrency features effectively