Tech Tutorials Database
GeekArticles Programming Delphi
 

Integer overload of IfThen can be improved and should also be inlined

 
Author: qc.borland.com
Category: Delphi
Comments (0)

QC#: 41552 Version: 10.0 Status: Open defect, requires resolution Description: The integer overload of IfThen in math.pas is not as efficient as it can be. Below is a better implementation:
function IfThen(AValue: Boolean; const ATrue: Integer; const AFa

Read More...




Sponsored Links




Read Next: Replace very slow DupeString function



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe