Re: Faster way of making long string?



J French wrote:
On Tue, 26 Apr 2005 21:56:46 +0200, Ekkehard Domning <edo@xxxxxxxx>
wrote:

<snip>

I made a test with this and Str() is much faster than IntToStr. This was surprising for me.


If you have a Pro or Enterprise edition then right click on IntToStr(
then select 'Find Declaration'

It will send you on a right old chase through SysUtils.pas

Doing the same on Str(  just opens System.pas
- no source - some sort of compiler magic

Quite interesting

Mostly - I think the speed is down to not creating new strings
- but the FormatBuf code is ... not exactly to the point

It would be handy if Delphi provided some sort of Strings Created
statistic for profiling

Never knew the Str() procedure existed, will have to remember it. .



Relevant Pages

  • Re: upgrade from Visual .NET 2003 enterprise to which Visual .NET 2005
    ... Pro edition. ... there is no enterprise edition for Visual Studio .NET 2005. ... Software Architect, Software Developer, Software Tester, and Team Suite ... Which is one is equivalent to Visual Studio .NET 2003 enterprise edition? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Office 2003 Pro Enterprise Edition
    ... > I just purchase through Amazon.com from a 3rd party vendor ... I received the program disks and they say ... > anything about an Enterprise Edition. ... Office Pro 2003 Enterprise edition is only supposed to be available ...
    (microsoft.public.office.misc)
  • Re: Sales cart for ecommerce
    ... We use the v2 pro and now the V2004 Enterprise Edition. ... it in sales. ... Jim ...
    (microsoft.public.frontpage.client)
  • Copy and Paste Problems
    ... I'm using Windows XP Pro with Office 2007 Enterprise Edition. ... I can take a screen shot and paste it into Word but I cannot copy and Paste ...
    (microsoft.public.windowsxp.general)
  • Re: Converting The trial
    ... >> the trial to the pro version to see if it meets my requirements. ... > *no* source code is encrypted in the registration key). ... >> Also if one buys the D2005 Pro and lets say i need the Enterprise edition ...
    (borland.public.delphi.non-technical)