×
C++性能优化手册-(影印版)

包邮C++性能优化手册-(影印版)

1星价 ¥31.3 (3.5折)
2星价¥31.3 定价¥89.0

温馨提示:5折以下图书主要为出版社尾货,大部分为全新(有塑封/无塑封),个别图书品相8-9成新、切口有划线标记、光盘等附件不全详细品相说明>>

暂无评论
图文详情
  • ISBN:9787564169992
  • 装帧:一般胶版纸
  • 册数:暂无
  • 重量:暂无
  • 开本:32开
  • 页数:366
  • 出版时间:2017-02-01
  • 条形码:9787564169992 ; 978-7-5641-6999-2

本书特色

在当今飞速发展和充满竞争的世界中,对于客户而言,程序的性能与功能一样重要。这本实践指南为开发人员讲解在C 中实现优化的性能调优原则。你将学习如何令已经包含了C 设计*佳实践的代码在任何计算机上——无论是手表、电话、工作站、超级计算机还是全球服务器网络——*快地运行并消耗* 少的资源。
作者库尔特·冈瑟罗思Kurt Guntheroth提供了几个运行示例,演示如何逐步应用这些原则以改进现有代码,从而满足客户对响应速度和数据吞吐量的要求。《C 性能优化手册(影印版)(英文版)》的建议将证明它自己,你将**次听到同事惊呼:“哇,这么快。谁修改了什么东西?”

内容简介

这本实用指南为开发人员讲解在 C++ 中实现优化的性能调优原则。您将学习如何使得已经包含了 C++ 设计*佳实践的代码在任何计算机上更快地运行并消耗更少的资源——无论是手表,电话,工作站,超级计算机或全球服务器网络。作者 Kurt Guntheroth 提供了几个运行示例,演示如何逐步应用这些原则以改进现有代码,从而满足客户对响应速度和数据吞吐量的要求。

目录

Preface 1. An Overview of OptimizationOptimization Is Part of Software DevelopmentOptimization Is EffectiveIt's OK to OptimizeA Nanosecond Here, a Nanosecond ThereSummary of Strategies for Optimizing C CodeUse a Better Compiler, Use Your Compiler BetterUse Better AlgorithmsUse Better LibrariesReduce Memory Allocation and CopyingRemove ComputationUse Better Data StructuresIncrease ConcurrencyOptimize Memory ManagementSummary 2. Computer Behavior Affecting OptimizationLies C Believes About ComputersThe Truth About ComputersMemory Is SlowMemory Is Not Accessed in BytesSome Memory Accesses Are Slower than OthersMemory Words Have a Big End and a Little EndMemory Has Finite CapacityInstruction Execution Is SlowMaking Decisions Is Hard for ComputersThere Are Multiple Streams of Program ExecutionCalling into the Operating System Is ExpensiveC Tells Lies TooAll Statements Are Not Equally ExpensiveStatements Are Not Executed in OrderSummary 3. Measure PerformanceThe Optimizing MindsetPerformance Must Be MeasuredOptimizers Are Big Game HuntersThe 90/10 RuleAmdahl's LawPerform ExperimentsKeep a Lab NotebookMeasure Baseline Performance and Set GoalsYou Can Improve Only What You MeasureProfile Program ExecutionTime Long-Running Code'~ Little Learning" About Measuring TimeMeasuring Time with ComputersOvercoming Measurement ObstaclesCreate a Stopwatch ClassTime Hot Functions in a Test HarnessEstimate Code Cost to Find Hot CodeEstimate the Cost of Individual C StatementsEstimate the Cost of LoopsOther Ways to Find Hot SpotsSummary 4. Optimize String Use: A Case StudyWhy Strings Are a ProblemStrings Are Dynamically AllocatedStrings Are ValuesStrings Do a Lot of CopyingFirst Attempt at Optimizing StringsUse Mutating String Operations to Eliminate TemporariesReduce Reallocation by Reserving StorageEliminate Copying of String ArgumentsEliminate Pointer Dereference Using IteratorsEliminate Copying of Returned String ValuesUse Character Arrays Instead of Strings…… 5. Optimize Algorithms 6. Optimize Dynamically Allocated Variables 7. Optimize Hot Statements 8. Use Better Libraries 9. Optimize Searching and Sorting 10. Optimize Data Structures 11. Optimize I/0 12. Optimize Concurrency 13. Optimize Memory Management
展开全部

作者简介

Kurt Guntheroth,是一位有超过35年经验的软件开发人员,其中25年的时间被他用来编写大量C++代码。他在Windows、Linux和嵌入式设备上开发。kurt住在华盛顿州西雅图市。

预估到手价 ×

预估到手价是按参与促销活动、以最优惠的购买方案计算出的价格(不含优惠券部分),仅供参考,未必等同于实际到手价。

确定
快速
导航