Tag: object pascal
April 6, 2013
algorithms, assembly language, c / c++, code, compiler, implementation, interpreter / compiler, math, object pascal, optimization, programming languages, tricks
In mathematics, the absolute function is defined as: This function is simple, and quite in popular usages. The absolute value is considered as one of the fundamental operations in …
In , the performance comparison over floating point optimization regarding to different configurations for Delphi 2007 and XE3 is presented. We can see that Delphi 2007 produces quite nice …
The inline keyword in Delphi is a powerful optimization feature that instructs the compiler to replace a function or procedure call with its actual code, eliminating the overhead of …
Before Delphi 2007, sometimes you will have a warning showing up for lengthy functions, even if you have defined return value at the begining of the function, for example: …
Given two rectangles (as shown in the following figure), , are lower-left points while and are top-right points. We want to find out whether these two rectangles overlap each …