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

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.

主站蜘蛛池模板: 琼结县| 翼城县| 门源| 乐山市| 东辽县| 江安县| 拜城县| 浑源县| 银川市| 乌拉特前旗| 水城县| 吉木乃县| 特克斯县| 阿尔山市| 巴林右旗| 通辽市| 天镇县| 滦平县| 改则县| 正安县| 资阳市| 乐业县| 连州市| 佛山市| 望奎县| 张家川| 佛学| 九江县| 集安市| 泸水县| 贺州市| 寿阳县| 大邑县| 黄浦区| 东乡族自治县| 富宁县| 东至县| 马龙县| 扬州市| 阳东县| 西畴县|