官术网_书友最值得收藏!

Summary

In this chapter, I touched on two very different topics. First, I looked at responsive user interfaces and how to make them faster and then I continued with the concept of caching. That topic was introduced with a simple example, followed by a fully featured cache implementation that you can use in your programs.

At the end, I returned to the example SlowCode program from Chapter 1, About Performance. First, I used some detective work to find out what it really does, which allowed me to improve it a lot. The code now processes a million numbers in mere milliseconds and not minutes as the original program did.

In the next chapter, I'll focus on optimizing the code on a smaller level. We will look at various Delphi language and RTL elements and you'll learn which parts of the language and system libraries can behave slower than one would expect and what you can do to improve that.

主站蜘蛛池模板: 达日县| 新巴尔虎右旗| 宝兴县| 灌南县| 淳安县| 五原县| 罗甸县| 鹿邑县| 东明县| 井陉县| 甘德县| 霍山县| 霍林郭勒市| 临城县| 河南省| 五峰| 尼木县| 民勤县| 璧山县| 德清县| 财经| 紫金县| 沁源县| 阿克陶县| 新建县| 罗甸县| 怀来县| 沾益县| 盐山县| 宁远县| 仙游县| 宁都县| 高唐县| 连平县| 汶上县| 阳谷县| 三门县| 中牟县| 天门市| 四会市| 洞口县|