11
Using External Libraries
We’ve seen many different ways of improving program speed in this book. We’ve changed algorithms, reduced the number of memory allocations, fine-tuned the code, made parts of programs parallel, and more. Sometimes, however, all of this is not enough. Maybe the problem is too hard and we give up, or maybe the fault lies in Delphi; more specifically, in the compiler.
In such cases, we will look outside the boundary of a local computer or company, and search the internet for a solution. Maybe somebody has already solved the problem and created a nicely wrapped solution for it. Sometimes, we’ll be able to find one. Most of the time, they will not be written with Delphi in mind.
Face it, Delphi programmers (even though ...
Get Delphi High Performance. - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.