[Gambas-user] Testing scripter, but found this script to be slow

Brian G brian at westwoodsvcs.com
Tue Jan 12 00:13:26 CET 2021


Cool Benoît,

Great tips, I did not know iif was not optimized I use it all over the place
so darn convenient. I forgot about the \e in a string for escape...

Thank You
Brian G

----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>
To: "Gambas mailing list" <user at lists.gambas-basic.org>
Sent: Monday, January 11, 2021 10:16:29 AM
Subject: Re: [Gambas-user] Testing scripter, but found this script to be slow

Le 11/01/2021 à 18:02, Brian G a écrit :
> I have attached for those of you having coffee this morning a quick 
> morning donut.....
> 

Here is a slightly better version.

Tips: IIf() is not optimized by the JIT compiler. Use a normal IF test 
instead.

Regards,

-- 
Benoît Minisini


----[ http://gambaswiki.org/wiki/doc/netiquette ]----


More information about the User mailing list