[fpc-pascal] Mozilla XPCOM

Marcos Douglas md at delfire.net
Tue Jun 8 15:39:30 CEST 2010


Hi Luiz,

On Mon, Jun 7, 2010 at 10:35 PM, Luiz Americo Pereira Camara
<luizmed at oi.com.br> wrote:
>
> Take a look at
> http://lazarusroad.blogspot.com/2008/11/effect-of-using-constant-parameter-for.html
>

Then, this continue true how I said in other mail:

On Mon, Jun 7, 2010 at 11:59 AM, Marcos Douglas <md at delfire.net> wrote:
> Always use 'const' for 'strings' because this is faster. Strings will
> be passed by reference.

And about not string types, is more faster too? eg: foo (const i: Integer)


Marcos Douglas
PS: Do you write in the list lazarus-br?



More information about the fpc-pascal mailing list