Quantcast
Channel: Planet Object Pascal
Viewing all articles
Browse latest Browse all 1725

DelphiTools.info: Boosting Work Classes with a mini Object Pool

$
0
0
Work and processing classes are typically short-lived, created to perform one form of processing or another then freed. They can be simple collections, handle I/O of one kind of another, perform computations, pattern matching, etc. When they’re used for simple workloads, their short-lived temporary nature can sometimes become a performance problem. The typical code for…

Viewing all articles
Browse latest Browse all 1725

Trending Articles