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

  • Delphi High Performance
  • Primo? Gabrijelcic
  • 161字
  • 2021-06-24 19:23:03

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.

主站蜘蛛池模板: 曲松县| 万山特区| 开江县| 崇文区| 嵩明县| 烟台市| 南通市| 银川市| 桐城市| 政和县| 土默特右旗| 文成县| 丰宁| 宝坻区| 仁布县| 竹溪县| 寻甸| 庐江县| 靖西县| 仲巴县| 大名县| 萝北县| 连江县| 明星| 盘锦市| 始兴县| 肇源县| 和龙市| 桑植县| 凤庆县| 乌兰察布市| 吉安市| 山阴县| 阿克陶县| 厦门市| 永福县| 江口县| 沙雅县| 铁岭市| 贡嘎县| 定州市|