Re: Small Indy10 issue

Giganews Newsgroups
Subject: Re: Small Indy10 issue
Posted by:  Marco van de Voort (marc…@stack.nl)
Date: Sat, 7 Feb 2004

On 2004-02-07, Marco van de Voort <marc…@stack.nl> wrote:
> Today I started testing with Indy10 (snapshot dl'ed today), and the (FPC)
> compiler bombed on IdGlobal.CopyTidBytes.
>
> FPC is correct, this function writes to a CONST ADest parameter.
>
> (idglobal.pas:839)

The  CONST for the INTEGER typed parameters in these procedures btw only
slow down.

For simple types, pass by value is faster than CONST.

Replies

In response to

Small Indy10 issue posted by Marco van de Voort on Sat, 7 Feb 2004