November 13, 2007
Handbook Note 39/113: Inline Functions with Const Parameters
Note 39 of 113 of Delphi 2007 Handbook
Note 39 (page 98): Notice that the use of the const parameter, which is generally relevant only for strings, can speed up inlined code, as it can help the compiler produce better code. Consider it as an optimization suggestion for the compiler in the case of inlining. The Max function shown earlier uses it, like most of the RTL inlineable functions.
This blog post is part of my "113 Delphi 2007 Handbook Notes" blogging project, to promote my new Delphi book.
0 Comments
Post Your Comment
Click here for posting your feedback to this blog.
There are currently 0 pending (unapproved) messages.


