Again inline optimalization

by Radek Červinka 25. September 2010 00:12

So small comment for inline optimalization. This time inspired by Allen Bauer and I never know about this before..

For example this "good" code:

    1program InlineTest;
    2{$APPTYPE CONSOLE}
    3{$O+}
    4uses
    5  SysUtils;
    6
    7var
    8  s : string;
    9begin
   10  s:= 'Test';
   11  writeln(s);
   12  writeln(Length(s));
   13end.

More...

Tags: , ,

Optimalization

Delphi code snippets 1

by Radek Červinka 8. September 2010 22:53

I like to watch how others do code and let yourself be inspired. And here and there I encounter a piece of code that I am interested.

Very good source is VCL and I so many times find there a very interesting code. Like these, which is often used elsewhere.More...

Tags: ,

Practices