Re: String Functions
- From: "Pierre le Riche" <pleriche@xxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 23:00:11 +0200
> That was deliberate, in order to mimic ordinary (at least
> in my experience) usage of the IntToStr function. That
> is also why I ran IntToStrPLR1, then IntToStr_JH1, then
> IntToStrPLR1, then IntToStr_JH1 -- just to check on the
> effects of string "reuse".
If you do that then you cannot use the results to compare the two functions.
For a benchmark to be valid the input has to be the same for all
contestants. If you reuse the output of one function as the input to
another, then that is not the case.
Remember:
function xyz: string;
is for all practical purposes the same as:
procedure xyz(var Result: string);
Regards,
Pierre
.
- References:
- String Functions
- From: Chekcin
- Re: String Functions
- From: Dennis
- Re: String Functions
- From: Florent Ouchet
- Re: String Functions
- From: John Herbster
- Re: String Functions
- From: Pierre le Riche
- Re: String Functions
- From: John Herbster
- Re: String Functions
- From: Pierre le Riche
- Re: String Functions
- From: John Herbster
- String Functions
- Prev by Date: Re: String Functions
- Previous by thread: Re: String Functions
- Index(es):
Relevant Pages
|