Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2006 Jul : Format routine performance
| Subject: | Format routine performance |
| Posted by: | "William Meyer" (meyer.w..@gmail.com) |
| Date: | 7 Jul 2006 07:40:26 |
I am using a call to Format() in a DLL and have determined through
profiling that this single call is responsible for 45% of the execution
time in the entire DLL. The actual call is:
result := Format( '%.2d:%.2d:%.2d' + fSep + '%.2d', [h, m, s, f] );
Can anyone suggest an alternative solution that might offer lower
overhead?
Thanks.
--
Bill